createCredentials help
Could someone point me in the right direction of implementing createCredentials? Not much experience on this front but would like to try to dig into it.
Ok so the end result you want to create is a module that implimentats it that we require here.
Step one is to document the api and create some examples of test vectors or figure out how to validate the out put of what you are making. Likely the hard part here is finding documentation on how the SPKAC stuff is formated.
If you do this first then if you don't do anything more than somebody else can pick up where you left off easily.
For the actual public key stuff you'll want to use asn1.js for the encoding and decoding of the stuff. randombytes for generating random data and browserify-sign if you need to create signatures.
On Sat, Dec 12, 2015, 5:36 AM Danyal Anik [email protected] wrote:
Could someone point me in the right direction of implementing createCredentials? Not much experience on this front but would like to try to dig into it.
— Reply to this email directly or view it on GitHub https://github.com/crypto-browserify/crypto-browserify/issues/147.
createCredentials in node crypto marked as deprecated (starting from node v0.12)
@calvinmetcalf should it be removed from todo?
Could still be added in anyway even though it's deprecated
Deprecated is irrelevant; if it exists, it should be added.
Agreed. If someone is willing to make this as a module, then be my guest. If you want to add this as a module, please do so as per the readme, @danyal.