nucypher / pyUmbral

NuCypher's reference implementation of Umbral (threshold proxy re-encryption) using OpenSSL and Cryptography.io
https://pyumbral.readthedocs.io
GNU General Public License v3.0
284 stars 71 forks source link

Sending keys to Ursula #248

Closed dominic-healid closed 4 years ago

dominic-healid commented 5 years ago

Has anyonce can provide sample code for the re-encryption process where Ursulas are involved like sending keys to them and receiving it?

I believe on the sample code it only simulate the logic for sending the receiving fragments from the ursula nodes.

When Alice wants to grant Bob access to open her encrypted messages, she creates re-encryption key fragments, or "kfrags", which are next sent to N proxies or Ursulas.

How do we send the kfrags to Ursulas?

dominic-healid commented 5 years ago

Upon analyzing it more, I believe Ursulas are part of NuCypher network and this pyUmbral sample code is independent to NuCypher that's why sending the keys to Ursulas are not specified.

KebAz commented 4 years ago

That's what I think also. Thus to send kfrags to Ursulas without using NuCypher, you should implement it yourself.