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

Create Wrap/UnWrap functions in crypto api #2256

Closed
7 tasks done
baha-ai opened this issue Oct 20, 2020 · 0 comments · Fixed by #2302
Closed
7 tasks done

Create Wrap/UnWrap functions in crypto api #2256

baha-ai opened this issue Oct 20, 2020 · 0 comments · Fixed by #2302
Assignees
Milestone

Comments

@baha-ai
Copy link
Contributor

baha-ai commented Oct 20, 2020

@baha-ai baha-ai self-assigned this Oct 20, 2020
@baha-ai baha-ai added this to the 0.1.5 milestone Oct 20, 2020
@baha-ai baha-ai added the design label 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 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