summaryrefslogtreecommitdiff
path: root/src/leap
AgeCommit message (Collapse)Author
2014-10-23Basic validation levels supportRuben Pollan
2014-10-09Implement 'fetch_key' for ascii keysRuben Pollan
binary keys support is still missing
2014-10-09Merge branch 'drebs/bug/6022_fix-call-to-verify-file' into developRuben Pollan
2014-10-09Accept ascii keys on put_keyRuben Pollan
2014-09-16Remove parse_openpgp_ascii_keyRuben Pollan
Don't fit with the logic of the keymanager and it's not use except for some commented code in bitmask_client
2014-09-16Rename method get_all_keys_in_local_db -> get_all_keysRuben Pollan
2014-09-16Remove get_key_from_cacheRuben Pollan
We only need to cache the fetch with a sort timeout. The tests that fetches keys now have to use different keys or will be cached.
2014-09-16Pass the cipher_algo to the encrypt wrapperRuben Pollan
2014-09-16Remove refresh_keysRuben Pollan
Never should be done a bulk upload of keys. The updating of the keys should not be a task for the user of the keymanager. Keys will be updated by the keymanager in a background worker one per one.
2014-09-15Update docstrings of the public APIRuben Pollan
2014-08-27Fix call to python-gnupg verify_file() method (#6022).drebs
2014-07-25Fix test_send_keyRuben Pollan
2014-07-25gpg.verify_file() gets the data as a filename not as a binary streamRuben Pollan
2014-03-31Properly raise exception when key is not found on server (#5415).drebs
2014-02-17Update auth to interact with webapp v2. Closes #5120.drebs
2014-01-20Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/ivan/feature/better-version-handling' into develop
2014-01-17Fix failing tests.Ivan Alejandro
Add missing MockSharedDB. Update Soledad parameters.
2014-01-17Remove unused imports, fix typo.Ivan Alejandro
2014-01-17Do not decode decrypted data, return as str.Ivan Alejandro
2014-01-09Use a better version handler.Ivan Alejandro
2013-12-18Do not memoize get_key, but a separate method.Kali Kaneko
In this way we can choose which calls to get from cache and we do not mess with the call from send_key
2013-12-17memoize call to get_keyKali Kaneko
2013-12-10typoKali Kaneko
2013-12-09pep8 cleanupKali Kaneko
2013-11-25Improve exceptions names and handling.drebs
2013-11-25Fix error returns on openpgp backend.drebs
Also fix: - some docstrings. - variabled referenced without previous assignement.
2013-11-21Remove '+' suffix in email address.Ivan Alejandro
This allows us to support encrypt mails to 'test_user@provider.com' even if was sent to 'test_user+optional_string@provider.com'.
2013-11-21Do not check for a valid address, rely on client.Ivan Alejandro
An email address regexp that supports all (or almost) emails is really complex, and is_address uses a simpler one since we restrict the valid usernames and provider names. For that we rely on the email client to check whether the email address is valid or not.
2013-11-14Expose openpgp methods in keymanager.Ivan Alejandro
- parse_ascii_key - delete_key - put_key
2013-11-13Refactor code to support parsing ascii keys.Ivan Alejandro
2013-11-11Use 'utf-8' as default/fallback encoding.Ivan Alejandro
- Also reorder stdlib imports alphabetically :)
2013-11-04Remove key comment on OpenPGP key generation.drebs
2013-11-04Add verification of detached signatures.drebs
2013-10-23Return unicode in order to solve encoding issues.Ivan Alejandro
2013-10-09fix exception catchingKali Kaneko
2013-10-09bump also the gnupg sanity checkKali Kaneko
2013-10-06Add option to choose cipher and digest algorithms.drebs
2013-10-02add sanity check for gnupg package and versionKali Kaneko
2013-10-02Update to use gnupg 1.2.2 module.drebs
2013-09-02assert nonnull soledadKali Kaneko
2013-08-30Do not raise on not 2XX error codesTomás Touceda
Also accept unicode ascii keys
2013-08-23Some packaging improvementsKali Kaneko
* versioneer all the things * add parse_requirements
2013-08-21Merge remote-tracking branch ↵Tomás Touceda
'drebs/feature/3487-split-soledad-into-common-client-and-server' into develop
2013-08-19Update to new soledad package scheme.drebs
2013-08-16Signal events from keymanagerTomás Touceda
2013-08-09Fix error in encryption failure logging method.drebs
2013-08-08Merge branch 'bug/unsupported_options' into developdrebs
2013-08-08Do not fail if nickserver request failsTomás Touceda
2013-08-08Remove options from the constructor call for gnupg.GPGTomás Touceda
2013-08-08Support bundled GPG and change API.drebs
- Move openpgp encrypt/decrypt/sign/verify API to inside OpenPGP class. - Add encrypt/decrypt/sign/verify API to KeyManager. - Add possibility of passing custom gpg binary to KeyManager and OpenPGPScheme. - Remove "_asym" suffix from method names. - Bump version to 0.2.1. New API is *not* backwards compatible.