Test renaming to exclude federated. Remove test for alice performing encryption.

pull/3237/head
derekpierre 2023-09-20 14:21:54 -04:00
parent 6f08f937de
commit d4d5183ceb
2 changed files with 0 additions and 25 deletions

View File

@ -1,27 +1,5 @@
import pytest
from constant_sorrow import constants
from nucypher.characters.lawful import Enrico
"""
What follows are various combinations of signing and encrypting, to match
real-world scenarios.
"""
def test_sign_cleartext_and_encrypt(alice, bob):
"""
Exhibit One: alice signs the cleartext and encrypts her signature inside
the ciphertext.
"""
message = b"Have you accepted my answer on StackOverflow yet?"
message_kit = alice.encrypt_for(alice, message)
cleartext = alice.decrypt_message_kit(alice, message_kit)
assert cleartext == message
def test_alice_can_decrypt(alice):
label = b"boring test label"