crypto-browserify icon indicating copy to clipboard operation
crypto-browserify copied to clipboard

createCredentials help

Open danyal opened this issue 10 years ago • 5 comments

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.

danyal avatar Dec 12 '15 10:12 danyal

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.

calvinmetcalf avatar Dec 12 '15 17:12 calvinmetcalf

createCredentials in node crypto marked as deprecated (starting from node v0.12) @calvinmetcalf should it be removed from todo?

fanatid avatar Mar 15 '16 08:03 fanatid

Could still be added in anyway even though it's deprecated

rawr51919 avatar Feb 02 '21 22:02 rawr51919

Deprecated is irrelevant; if it exists, it should be added.

ljharb avatar Feb 02 '21 22:02 ljharb

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.

rawr51919 avatar Feb 02 '21 22:02 rawr51919