summaryrefslogtreecommitdiff
path: root/src/leap/common/tests
AgeCommit message (Collapse)Author
2013-05-29Remove keymanager from this repository.drebs
2013-05-28Fix wrong iv test to account for new form of iv.drebs
2013-05-28Use indexes to fetch keys.drebs
2013-05-21Remove openpgp symmetric encryption.drebs
2013-05-20Adapt get_key() and send_key() to the spec.drebs
* Use session_id instead of token for now. * Receive info needed to interact with webapp API as params and setters/getters. * Use the webapp API for sending the key to server. * Prevent from refreshing own key.
2013-05-21use temporary openpgpwrapper as a context managerKali Kaneko
in this way we implicitely catch any exception during the wrapped call, and ensure that the destructor is always called.
2013-05-18Adapt keymanager tests for latest Soledad api.drebs
2013-05-16Add crypto submodule that handles AES-256-CTR encryption.drebs
2013-05-16Fix pep8 style.drebs
2013-05-14Add dependency on soledad and install tests.drebs
2013-05-11Encrypt/decrypt can also sign/verify.drebs
Also Implement code review comments for openpgp sign. * Add assertions and exceptions to openpgp encrypt/decrypt/sign/verify methods. * Added comments where they will help. * Make code more clear by encapsulating more the access to GPG wrapper and removing concatenation of ascii armored keys. * Add verification of fingerprint of verifying key. * Shorten check for signing key id.
2013-05-09Add sign/verify to keymanager's openpgp.drebs
2013-05-02Add tests for key management remote methods.drebs
2013-05-02Various fixesTomas Touceda
2013-04-29Remove gpg reference on Soledad usage.drebs
2013-04-27Use 'requests' module in KeyManager.drebs
2013-04-27Add key refreshing for KeyManager.drebs
2013-04-23Refactor, fixes, add api, tests.drebs
* Change KeyTypeWrapper to EncryptionScheme * Change OpenPGPWrapper to OpenPGPScheme * Add missing and standardized crypto API. * Add delete_key() * Fix put_key raw so it puts either public or private keys. * Fix gpg's is_encrypted() * Fix openpgp's safe callbacks so they return correctly. * Remove binascii because it generates invalid doc ids. * Add tests.
2013-04-22Add send_keys() and refresh_keys() to Key Manager.drebs
2013-04-19Make keymanager OpenPGP wrapper store using Soledad.drebs
2013-04-15Add basic openpgp key handling to Key Managerdrebs
2013-04-01Add tests for events mechanism.drebs