Disable ratchet encryption until Python-compatible (commented out for easy re-enable)

This commit is contained in:
DeFiDude committed 2026-03-21 14:29:05 -06:00
1 parent 7023c9444a
commit 8b052eb4c3
1 file changed
+5 -2
+5 -2
View File
@@ -447,8 +447,11 @@ Encrypts information for ``RNS.Destination.SINGLE`` or ``RNS.Destination.GROUP``
}
if (_object->_type == SINGLE && _object->_identity) {
Bytes ratchet = Identity::get_ratchet(_object->_hash);
return _object->_identity.encrypt(data, ratchet);
// TODO: Re-enable ratchet encryption once fully compatible with Python reference.
// Currently causes "Decryption with ratchets failed" on receiving Python clients.
//Bytes ratchet = Identity::get_ratchet(_object->_hash);
//return _object->_identity.encrypt(data, ratchet);
return _object->_identity.encrypt(data);
}
// TODO