-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Further X25519 cipher support #213
Comments
Those codes were added originally to support key managmeent not for generic encryption.
|
The Encrypter and Decrypter Classes will need to be updated to support the new codes |
Ah okay they came recently for CESR 2.0 - so they just didn't reach Signify-TS yet. I can create a PR this week to add support - thanks! |
@SmithSamuelM Do we need a new subclass of |
Matter would not do any decrypting. So you would need the decrypter sub class or the like. All Matter does is handle the conversions between the three formats, Text (QB64), Binary (QB2), and Raw (Code, Raw) using the code tables. Matter enables the primitive to be ser/des by a generator/parser. |
@SmithSamuelM I mean in For instance, right now if a |
for these variable length codes what will likely be returned are Bexter for the B64 encryptions and two new classes yet to be created that might be called Texter or Byter for arbitrary length bytestrings of text. and a new class for arbitrary length CESR Streamns. Name TBD. |
The Matter codex table in
signify-ts
only supportsX25519_Cipher_Seed
andX25519_Cipher_Salt
.If it's OK, I'd like to add the other 18 or so -
X25519_Cipher_L0
->X25519_Cipher_QB2_Big_L2
[encrypter.ts
,decrypter.ts
,cipher.ts
,matter.ts
] so we can sign arbitrary data. (e.g. for KERI ESSR from Signify)My only question here is what class
Decrypter._x25519
should return for these codecs - justMatter
?The text was updated successfully, but these errors were encountered: