This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 162
Generic JWE support for envelopes #815
Comments
baha-ai
pushed a commit
to baha-ai/aries-framework-go
that referenced
this issue
Jan 8, 2021
part of hyperledger-archives#1637, hyperledger-archives#1806, hyperledger-archives#1684, hyperledger-archives#815, hyperledger-archives#817 Signed-off-by: Baha Shaaban <[email protected]>
baha-ai
pushed a commit
to baha-ai/aries-framework-go
that referenced
this issue
Jan 8, 2021
part of hyperledger-archives#1637, hyperledger-archives#1806, hyperledger-archives#1684, hyperledger-archives#815 Signed-off-by: Baha Shaaban <[email protected]>
baha-ai
pushed a commit
to baha-ai/aries-framework-go
that referenced
this issue
Jan 8, 2021
This is a first change to add XChacha20Poly1305 keys to ECDH Tink keys to support XChacha AEAD encryption and key wrapping. It includes adding new Tink key managers in the Tink keys package, adding new key protos for Xchacha and creating a new templates. Future changes will include supporting Key exports, adding a KMS key type, add XChacha Key wrapping and finally testing the new key with the JWE packers. part of hyperledger-archives#1637, hyperledger-archives#1806, hyperledger-archives#1684, hyperledger-archives#815 Signed-off-by: Baha Shaaban <[email protected]>
baha-ai
pushed a commit
to baha-ai/aries-framework-go
that referenced
this issue
Jan 12, 2021
This is a first change to add XChacha20Poly1305 keys to ECDH Tink keys to support XChacha AEAD encryption and key wrapping. It includes adding new Tink key managers in the Tink keys package to support keys for: 1. NIST P curves KW - AES/XChacha20Poly1305 content encryption 2. X25519 KW - AES/XChacha20Poly1305 content encryption This change also includes new key templates to support the creation of these ECDH keys. Future changes will include supporting Key exports of these ECDH keys, adding new KMS key types, add XChacha Key wrapping and finally testing the new key with the JWE packers. part of hyperledger-archives#1637, hyperledger-archives#1806, hyperledger-archives#1684, hyperledger-archives#815 Signed-off-by: Baha Shaaban <[email protected]>
baha-ai
pushed a commit
to baha-ai/aries-framework-go
that referenced
this issue
Jan 12, 2021
This is a first change to add XChacha20Poly1305 keys to ECDH Tink keys to support XChacha AEAD encryption and key wrapping. It includes adding new Tink key managers in the Tink keys package to support keys for: 1. NIST P curves KW - AES/XChacha20Poly1305 content encryption 2. X25519 KW - AES/XChacha20Poly1305 content encryption This change also includes new key templates to support the creation of these ECDH keys. Future changes will include supporting Key exports of these ECDH keys, adding new KMS key types, add XChacha Key wrapping and finally testing the new key with the JWE packers. part of hyperledger-archives#1637, hyperledger-archives#1806, hyperledger-archives#1684, hyperledger-archives#815 Signed-off-by: Baha Shaaban <[email protected]>
baha-ai
pushed a commit
to baha-ai/aries-framework-go
that referenced
this issue
Jan 25, 2021
This is the last change about X25519 keys for ECDH KW. It updates the old ECDH key types into the new type names and add the X25519 key type as well. Also part of this change is the removal of remnant code from legacyKMS which was removed from the framework last year. closes hyperledger-archives#2447, hyperledger-archives#1684, hyperledger-archives#815 also part of hyperledger-archives#857 closes hyperledger-archives#475, hyperledger-archives#596 Signed-off-by: Baha Shaaban <[email protected]>
baha-ai
pushed a commit
to baha-ai/aries-framework-go
that referenced
this issue
Jan 26, 2021
This is the last change about X25519 keys for ECDH KW. It updates the old ECDH key types into the new type names and add the X25519 key type as well. It includes JWE encryption/decryption updates to support XC20P content encryption along with recipients kw using both NIST P curved keys and X25519 keys. Also part of this change is the removal of remnant code from legacyKMS which was removed from the framework last year. closes hyperledger-archives#2447 closes hyperledger-archives#1684 closes hyperledger-archives#815 closes hyperledger-archives#475 closes hyperledger-archives#596 also part of hyperledger-archives#857 Signed-off-by: Baha Shaaban <[email protected]>
baha-ai
pushed a commit
to baha-ai/aries-framework-go
that referenced
this issue
Jan 26, 2021
This is the last change about X25519 keys for ECDH KW. It updates the old ECDH key types into the new type names and add the X25519 key type as well. It includes JWE encryption/decryption updates to support XC20P content encryption along with recipients kw using both NIST P curved keys and X25519 keys. Also part of this change is the removal of remnant code from legacyKMS which was removed from the framework last year. closes hyperledger-archives#2447 closes hyperledger-archives#1684 closes hyperledger-archives#815 closes hyperledger-archives#475 closes hyperledger-archives#596 also part of hyperledger-archives#857 Signed-off-by: Baha Shaaban <[email protected]>
baha-ai
pushed a commit
to baha-ai/aries-framework-go
that referenced
this issue
Jan 26, 2021
This is the last change about X25519 keys for ECDH KW. It updates the old ECDH key types into the new type names and add the X25519 key type as well. It includes JWE encryption/decryption updates to support XC20P content encryption along with recipients kw using both NIST P curved keys and X25519 keys. Also part of this change is the removal of remnant code from legacyKMS which was removed from the framework last year. closes hyperledger-archives#2447 closes hyperledger-archives#1684 closes hyperledger-archives#815 closes hyperledger-archives#475 closes hyperledger-archives#596 also part of hyperledger-archives#857 Signed-off-by: Baha Shaaban <[email protected]>
baha-ai
pushed a commit
to baha-ai/aries-framework-go
that referenced
this issue
Jan 27, 2021
This is the last change about X25519 keys for ECDH KW. It updates the old ECDH key types into the new type names and add the X25519 key type as well. It includes JWE encryption/decryption updates to support XC20P content encryption along with recipients kw using both NIST P curved keys and X25519 keys. Also part of this change is the removal of remnant code from legacyKMS which was removed from the framework last year. closes hyperledger-archives#2447 closes hyperledger-archives#1684 closes hyperledger-archives#815 closes hyperledger-archives#475 closes hyperledger-archives#596 also part of hyperledger-archives#857 Signed-off-by: Baha Shaaban <[email protected]>
sudeshrshetty
pushed a commit
to sudeshrshetty/aries-framework-go
that referenced
this issue
Oct 18, 2021
This is a first change to add XChacha20Poly1305 keys to ECDH Tink keys to support XChacha AEAD encryption and key wrapping. It includes adding new Tink key managers in the Tink keys package to support keys for: 1. NIST P curves KW - AES/XChacha20Poly1305 content encryption 2. X25519 KW - AES/XChacha20Poly1305 content encryption This change also includes new key templates to support the creation of these ECDH keys. Future changes will include supporting Key exports of these ECDH keys, adding new KMS key types, add XChacha Key wrapping and finally testing the new key with the JWE packers. part of hyperledger-archives#1637, hyperledger-archives#1806, hyperledger-archives#1684, hyperledger-archives#815 Signed-off-by: Baha Shaaban <[email protected]>
sudeshrshetty
pushed a commit
to sudeshrshetty/aries-framework-go
that referenced
this issue
Oct 18, 2021
This is the last change about X25519 keys for ECDH KW. It updates the old ECDH key types into the new type names and add the X25519 key type as well. It includes JWE encryption/decryption updates to support XC20P content encryption along with recipients kw using both NIST P curved keys and X25519 keys. Also part of this change is the removal of remnant code from legacyKMS which was removed from the framework last year. closes hyperledger-archives#2447 closes hyperledger-archives#1684 closes hyperledger-archives#815 closes hyperledger-archives#475 closes hyperledger-archives#596 also part of hyperledger-archives#857 Signed-off-by: Baha Shaaban <[email protected]>
sudeshrshetty
pushed a commit
to sudeshrshetty/aries-framework-go
that referenced
this issue
Jan 22, 2022
This is a first change to add XChacha20Poly1305 keys to ECDH Tink keys to support XChacha AEAD encryption and key wrapping. It includes adding new Tink key managers in the Tink keys package to support keys for: 1. NIST P curves KW - AES/XChacha20Poly1305 content encryption 2. X25519 KW - AES/XChacha20Poly1305 content encryption This change also includes new key templates to support the creation of these ECDH keys. Future changes will include supporting Key exports of these ECDH keys, adding new KMS key types, add XChacha Key wrapping and finally testing the new key with the JWE packers. part of hyperledger-archives#1637, hyperledger-archives#1806, hyperledger-archives#1684, hyperledger-archives#815 Signed-off-by: Baha Shaaban <[email protected]>
sudeshrshetty
pushed a commit
to sudeshrshetty/aries-framework-go
that referenced
this issue
Jan 22, 2022
This is the last change about X25519 keys for ECDH KW. It updates the old ECDH key types into the new type names and add the X25519 key type as well. It includes JWE encryption/decryption updates to support XC20P content encryption along with recipients kw using both NIST P curved keys and X25519 keys. Also part of this change is the removal of remnant code from legacyKMS which was removed from the framework last year. closes hyperledger-archives#2447 closes hyperledger-archives#1684 closes hyperledger-archives#815 closes hyperledger-archives#475 closes hyperledger-archives#596 also part of hyperledger-archives#857 Signed-off-by: Baha Shaaban <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
JWE packer should support ECDH key agreement for curves:
For key encryption algorithms, we should support:
For content encryption, we should support a similar set to what is being discussed in related DIF issues:
ChaCha20-Poly1305 (C20P)For the ChaCha modes, we should also compare the related issue JWE format to what we have implemented and update the Aries issue (and implementation).
IANA Notes:
#857 lists some additional algorithms that were contemplated.
The text was updated successfully, but these errors were encountered: