jwk is already the standard for public key ;)

This commit is contained in:
AJ ONeal 2017-01-18 04:37:54 -05:00
parent 9bb628b2a7
commit 4b041ca0cf
1 changed files with 3 additions and 2 deletions

View File

@ -244,8 +244,9 @@
, "otp": opts.otp || opts.otpCode || undefined
, "otp_uuid": opts.otpUuid || undefined
, "user_agent": opts.userAgent || undefined // AJ's Macbook
, "public_key": opts.rememberDevice && opts.publicKey || undefined
, "public_key_type": opts.rememberDevice && opts.publicKeyType || undefined // RSA/ECDSA
, "jwk": opts.rememberDevice && opts.jwk || undefined
//, "public_key": opts.rememberDevice && opts.publicKey || undefined
//, "public_key_type": opts.rememberDevice && opts.publicKeyType || undefined // RSA/ECDSA
//, "jwt": opts.jwt // TODO sign a proof with a previously loaded public_key
};
var uri = args.url;