mirror of https://github.com/nucypher/pyUmbral.git
Don't need to attach a cfrag in the "proof only" test.
parent
427e33caff
commit
bd427e883c
|
@ -1,6 +1,6 @@
|
|||
import pytest
|
||||
|
||||
from umbral import pre, keys
|
||||
from umbral import pre
|
||||
from umbral.curvebn import CurveBN
|
||||
from umbral.point import Point
|
||||
from umbral.pre import Capsule
|
||||
|
|
|
@ -21,9 +21,6 @@ def test_correctness_proof_serialization(alices_keys):
|
|||
metadata = b"This is an example of metadata for re-encryption request"
|
||||
|
||||
cfrag = pre.reencrypt(kfrags[0], capsule, metadata=metadata)
|
||||
|
||||
capsule.attach_cfrag(cfrag)
|
||||
|
||||
proof = cfrag.proof
|
||||
proof_bytes = proof.to_bytes()
|
||||
|
||||
|
|
Loading…
Reference in New Issue