You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using AtClient.get with shared symmetric keys will throw an invalid pad block exception.
This issue fixed the sync_service, changes for this will most likely need to be done in decryption_service.
Steps to reproduce
Using Dart REPL, make sure to add dependency override for at_client using git
use /get on a shared symmetric key
error
Expected behavior
@gkc mentioned that he wanted at least a better exception but ideally the better solution would be the decrypted value for “our” copy, or an exception for “their” copy.
alice retrieving their copy of the symmetric key that alice created for bob /get shared_key.bob@alice ==> should be decryptable by alice
alice retrieving bob's copy of the symmetric key that alice created for bob /get @bob:shared_key@alice ==> not decryptable by alice, as alice encrypted this with bob's public key, and alice does not have bob's private key
alice retrieving their copy of the symmetric key that bob created for alice/get @alice:shared_key@bob==> should be decryptable by alice
alice retrieving bob's copy of the symmetric key that bob created for alice ==> this is not actually possible, it is only ever visible to bob in bob's atServer
Screenshots
Smartphones
No response
Were you using an atApplication when the bug was found?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Using AtClient.get with shared symmetric keys will throw an invalid pad block exception.
This issue fixed the sync_service, changes for this will most likely need to be done in decryption_service.
Steps to reproduce
Expected behavior
@gkc mentioned that he wanted at least a better exception but ideally the better solution would be the decrypted value for “our” copy, or an exception for “their” copy.
/get shared_key.bob@alice
==> should be decryptable by alice/get @bob:shared_key@alice
==> not decryptable by alice, as alice encrypted this with bob's public key, and alice does not have bob's private key/get @alice:shared_key@bob
==> should be decryptable by aliceScreenshots
Smartphones
No response
Were you using an atApplication when the bug was found?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: