-
Notifications
You must be signed in to change notification settings - Fork 136
Closed
Labels
Description
Three tasks:
- Switch the asn1 format to a SET.
openssl:
346:d=4 hl=2 l= 9 prim: OBJECT :challengePassword
357:d=4 hl=2 l= 8 cons: SET
359:d=5 hl=2 l= 6 prim: PRINTABLESTRING :foobar
367:d=1 hl=2 l= 13 cons: SEQUENCE
369:d=2 hl=2 l= 9 prim: OBJECT :sha1WithRSAEncryption
micromdm/scep:
249:d=4 hl=2 l= 9 prim: OBJECT :challengePassword
260:d=4 hl=2 l= 6 prim: OCTET STRING :foobar
268:d=1 hl=2 l= 13 cons: SEQUENCE
270:d=2 hl=2 l= 9 prim: OBJECT :sha256WithRSAEncryption
Make sure that parsing a challenge password works after the change.
-
Re-sign the raw csr after adding challenge password. Right now signatures don't match after adding challenge password.
-
Refactor the challenge password code into a new package, add attributions to golang/go and link to open issue.