Code Monkey home page Code Monkey logo

Comments (7)

foxt avatar foxt commented on August 17, 2024 1

I hacked on the existing js-srp package to get it working with the variant Apple uses.

npm i @foxt/js-srp

I left some code samples at https://github.com/foxt/js-srp-gsa

from icloud-photos-sync.

steilerDev avatar steilerDev commented on August 17, 2024 1

You are a maniac @foxt ! Thank you for your help on this 👏🏻

from icloud-photos-sync.

steilerDev avatar steilerDev commented on August 17, 2024

Article on SRP protocol

from icloud-photos-sync.

foxt avatar foxt commented on August 17, 2024

It seems like this protoocol isn't anything new, rather a port of the existing protocol used by Apple devices since 2SV was introduced (i.e. around iOS 9)? to the web, the good thing being there already being documentation for that version (called Grandslam or GSA):

https://github.com/MathewYaldo/Apple-GSA-Protocol
https://github.com/ionescu007/Blackwood-4NT/tree/main

(afaik there is no modern hashing algorithm that works on iterations?)

https://en.wikipedia.org/wiki/PBKDF2 ?

from icloud-photos-sync.

steilerDev avatar steilerDev commented on August 17, 2024

Quickly tested it and works like a charm!

from icloud-photos-sync.

github-actions avatar github-actions commented on August 17, 2024

This issue should be resolved with version v1.3.0-beta.2, please confirm.

from icloud-photos-sync.

github-actions avatar github-actions commented on August 17, 2024

This issue was resolved with version v1.3.0.

from icloud-photos-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.