issues
search
autotelic
/
envelope-encryptor
MIT License
1
stars
0
forks
source link
fix: handle Uint8Array CipherTextBlobs
#52
Closed
HW13
closed
5 months ago
HW13
commented
5 months ago
Summary
Update
awsKms
to handle
CiphertextBlob
as a
Uint8Array
Previously was handling it as a
Buffer
which is no longer the case (
docs
)
Update test stubs to return expected types
Update type delcarations
Test plan
Using
yalc
add this package to our auth project
Implement
awsKms
and pass it to
createEnvelopeEncryptor
in the DB seeds
Confirm seeds run without error
Summary
awsKms
to handleCiphertextBlob
as aUint8Array
Buffer
which is no longer the case (docs)Test plan
yalc
add this package to our auth projectawsKms
and pass it tocreateEnvelopeEncryptor
in the DB seeds