Open b1naryth1ef opened 11 years ago
I just got authentication working for minero, wanna some help?
I'm not sure I'll continue updating this fork. Might just contribute to minero. Codebase is just a little messy within CM.
Sad to hear you'll be discontinuing this fork.
Just in case you want to finish this issue, or want to do it for your Python server, here's the SHA-1 digest function: https://gist.github.com/toqueteos/5372776
Here you have some utility functions for generating a keypair, the 4 bytes token for 0xFC and 0xFD and also a function to marshal the public key to ASN.1: http://play.golang.org/p/DLVl_Vk5Fp
Then it's just about joining pieces and following Protocol_Encryption#Overview.
For some reason, we receive "NO\n" from the authserver on what seems to be a correct request. Investigation is needed. (For now, auth has been disabled until we fix)