-
Notifications
You must be signed in to change notification settings - Fork 70
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
Why there is no correctness_keys in result=capsule.to_bytes() #257
Comments
Hi @KPrasch , |
Hi @Himan000, when we designed the APIs for Umbral, we decided that both correctness keys and cfrags were just attached to the capsule on running time, and not when serialized. It's up to the developer/user to track these when using the capsule again. In fact, we were talking today of potentially going even further and make the API completely stateless (hi @fjarri 👋 ). |
Hi @cygnusv , |
Hi @cygnusv , |
@Himan000 Unfortunately, we do not maintain that implementation anymore. Do you have a need for a golang implementation of Umbral? |
Hi @cygnusv , |
Hi @tuxxy , |
GoUmbral is an incomplete project, I’m afraid. It used OpenSSL cgo bindings for secp256k1 which, unfortunately, make it likely not very usable for WebAssembly. If there is a large demand for a WebAssembly variant of Umbral, I’m very interested in writing a Rust implementation over a Golang version. There has been some work by @vepkenez to produce a JavaScript version of Umbral, but I’m not familiar with the status of it. |
Hi @tuxxy , Could you add a condition |
Hi @Himan000, |
For capsule, when in Re-Encryption,
if serialize capsule to file using,
save_file(capsule_path, capsule.to_bytes())
no correctness_keys serialize to bytes,
but Decryption by Bob need correctness_keys.
my code is,
So, how to serialize capsule with correctness_keys to bytes? Thanks.
The text was updated successfully, but these errors were encountered: