-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
63 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4bcb2ac
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @iowk ,
Could you explain to me how you devised this solution? Specifically, how did you determine that the password needs to be encoded (done in
SrpPassword.encode()
), and that the username should be an empty string in thex
, the private key.Thanks in advance!
-- Sven
4bcb2ac
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took fastlane's fix fastlane/fastlane@faee8dc as a reference
4bcb2ac
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick reply. Also, any idea why we send
m2
to the server? I'm not too familiar with the protocol, but isn't this usually what is sent by the server and verified by the client?Is there a resource which explains the process of iCloud authentication?
4bcb2ac
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is, but there is no
m2
from the server response, and I guess that's how Apple design it. What I did is just rewrite fastlane's commit in Python.I don't think there's a document about it.