Hello Stefan,

The JWK format is a template / extensible, so what you suggest will
technically work. You just need to spec the required / optional
parameters for the key type.

How would PGP benefit from a JWK format?

Vladimir

On 12/09/18 20:11, Stefan Berger wrote:
> Hello!
>
> I was wondering whether it would be possible to define a JWK format for 
> OpenPGP 
> (RFC 4480, https://tools.ietf.org/html/rfc4880) type of keys.
>
> In particular I would be interested in a JWK representation of OpenPGP type 
> of 
> keys representing an asymmetric key to which a session key was encrypted to. 
> This is following section "5.1.  Public-Key Encrypted Session Key Packets 
> (Tag 
> 1)" (https://tools.ietf.org/html/rfc4880#page-17). In JWK format this could 
> look 
> like this:
>
> {
> "kty": "OpenPGP"
> "kid": "0x1234567890abcdef",
> "ver": 3,
> }
>
> Other representations of OpenPGP types of keys are those typical for public 
> and 
> private keys, though it's not clear whether RSA for example then should be 
> some 
> form of subtype of PGP.
>
> Regards,
>     Stefan Berger
>
>
>
> _______________________________________________
> jose mailing list
> [email protected]
> https://www.ietf.org/mailman/listinfo/jose

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
jose mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/jose

Reply via email to