Skip to content

Commit b5f1760

Browse files
committed
docs: update function documentation
1 parent 08b7fb5 commit b5f1760

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

logic/pfs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ def send_new_ephemeral_keys(user_data: dict, user_data_lock: threading.Lock, con
9494

9595
rotate_mceliece = False
9696
if (rotate_at == rotation_counter) or (user_data["contacts"][contact_id]["ephemeral_keys"]["our_keys"][CLASSIC_MCELIECE_8_F_NAME]["private_key"] is None):
97+
# Generate Classic McEliece 8192128f keys
9798
mceliece_private_key, mceliece_public_key = generate_kem_keys(CLASSIC_MCELIECE_8_F_NAME)
9899
publickeys_hashchain += mceliece_public_key
99100
rotate_mceliece = True
100101

101102
# Sign them with our per-contact long-term private key
102103
publickeys_hashchain_signature = create_signature(ML_DSA_87_NAME, publickeys_hashchain, lt_sign_private_key)
103-
104-
104+
105105
ciphertext_nonce, ciphertext_blob = encrypt_xchacha20poly1305(
106106
our_strand_key,
107107
publickeys_hashchain_signature + publickeys_hashchain

0 commit comments

Comments
 (0)