Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Updated packers/encrypted formatter (EDV) following JWEEncrypt/Decrypt changes of CEK Wrap/Unwrap #2301

Closed
baha-ai opened this issue Nov 6, 2020 · 0 comments · Fixed by #2302
Assignees
Milestone

Comments

@baha-ai
Copy link
Contributor

baha-ai commented Nov 6, 2020

No description provided.

@baha-ai baha-ai self-assigned this Nov 6, 2020
@baha-ai baha-ai added this to the 0.1.5 milestone Nov 6, 2020
baha-ai pushed a commit to baha-ai/aries-framework-go that referenced this issue Nov 6, 2020
This change inclues extracting cek wrapping of JWEs outside of
the Tink Composite keys in tinkcrypto package.

It also includes related changes to JWEEncrypter/JWEDecrypter
as well as the packers and EDV formatter tests using those JWE
encrypters services.

Following this change, ECDH1PU keys have been removed and
ECDHES keys are renamed to ECDH keys. They only execute
plaintext AES GCM encryption using a pre created CEK. Their
asymetric nature is needed to represent Recipient keys for
key wrapping (outside of Tink).

closes hyperledger-archives#2299
closes hyperledger-archives#2300
closes hyperledger-archives#2301

Signed-off-by: Baha Shaaban <baha.shaaban@securekey.com>
baha-ai pushed a commit to baha-ai/aries-framework-go that referenced this issue Nov 6, 2020
This change inclues extracting cek wrapping of JWEs outside of
the Tink Composite keys in tinkcrypto package.

It also includes related changes to JWEEncrypter/JWEDecrypter
as well as the packers and EDV formatter tests using those JWE
encrypters services.

Following this change, ECDH1PU keys have been removed and
ECDHES keys are renamed to ECDH keys. They only execute
plaintext AES GCM encryption using a pre created CEK. Their
asymetric nature is needed to represent Recipient keys for
key wrapping (outside of Tink).

This change also moved KID creation logic details from
pkg/kms/localkms/kid_creator.go
to
pkg/doc/util/jwkkid/kid_creator.go
this avoids circular dependency between pkg/kms/localkms and pkg/doc/jose packages

closes hyperledger-archives#2299
closes hyperledger-archives#2300
closes hyperledger-archives#2301

Signed-off-by: Baha Shaaban <baha.shaaban@securekey.com>
baha-ai pushed a commit to baha-ai/aries-framework-go that referenced this issue Nov 6, 2020
This change inclues extracting cek wrapping of JWEs outside of
the Tink Composite keys in pkg/crypto/tinkcrypto package.

It also includes related changes to JWEEncrypter/JWEDecrypter
as well as the packers and EDV formatter tests using those JWE
encrypters services.

Following this change, ECDH1PU keys have been removed and
ECDHES keys are renamed to ECDH keys. They only execute
plaintext AES GCM encryption using a pre created CEK. Their
asymetric nature is needed to represent Recipient keys for
key wrapping (outside of Tink).

This change also moved KID creation logic details from
pkg/kms/localkms/kid_creator.go
to
pkg/doc/util/jwkkid/kid_creator.go
this avoids circular dependency between pkg/kms/localkms and pkg/doc/jose packages

closes hyperledger-archives#2299
closes hyperledger-archives#2300
closes hyperledger-archives#2301
closes hyperledger-archives#2256

Signed-off-by: Baha Shaaban <baha.shaaban@securekey.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging a pull request may close this issue.

1 participant