mirror of
https://github.com/ratspeak/microReticulum
synced 2026-11-22 23:10:38 +00:00
Disable ratchet encryption until Python-compatible (commented out for easy re-enable)
This commit is contained in:
1 parent
7023c9444a
commit
8b052eb4c3
1 file changed
+5
-2
+5
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user