You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Charm-Crypto Help
It seems the Pickle module is complaining it does not know how to serialize the pairing.Element object. You might have to implement an additional helper function such that Pickle can call the proper serialize() function from the charm.toolbox.pairinggroup or similar.
The same happens when using JSON with pairing.Element: one has to implement a KeyDecoder/KeyEncoder helper class to serialize pairing.Element objects.
Edoardo Marangone
unread,
Apr 6, 2022, 1:20:54 PM4/6/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Charm-Crypto Help
Is there a solution now? I'm trying to save the ciphertext and the key in a database, but I can't because there is no possibility to create a JSON from the pairing.Element object.
How can I save the ciphertext and the key in a database?