summaryrefslogtreecommitdiff
path: root/src/leap/common/keymanager
AgeCommit message (Collapse)Author
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-17Do not attempt to fetch private keys from server.drebs
2013-05-16Fix pep8 style.drebs
2013-05-13Merge remote-tracking branch 'drebs/feature/2488-openpgp-sign-3' into developTomas Touceda
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-11add repr method to encryption keyKali Kaneko
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 string conversion for encryption/decryption results.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-19Make the key wrapper map an object property.drebs
2013-04-15Add basic openpgp key handling to Key Managerdrebs
2013-04-14Add key manager basic API docstrings.drebs