summaryrefslogtreecommitdiff
path: root/keymanager
AgeCommit message (Collapse)Author
2016-07-12[test] add soledad client as a test requirementdrebs
2016-07-12[test] add gitlab-ci yaml filedrebs
2016-07-12[test] remove extra setUpEnv/tearDownEnvdrebs
The setUpEnv and tearDownEnv methods are configured to run on setUpClass/tearDownClass. Some testing systems as trial don't support that, and that seems to cause some confusion in some systems, causing double attempts to setup or teardown, and thus failing intermitently. This commit removes the extra call to setUpEnv and tearDownEnv on tests on this repository, as it now uses py.test to run tests, which supports setUpClass and tearDownClass.
2016-07-12[test] add tox.ini filedrebs
2016-07-12[test] move tests to root of repodrebs
2016-07-05[feat] make ValidationLevels iterableRuben Pollan
Needed by bytmask cli. - Related: #7965
2016-06-20[feat] check key document versions and fail if it's unknownRuben Pollan
- Closes: #8165
2016-06-17[feat] improve duplicated active documents fixupRuben Pollan
Mostly for private keys we want to keep the latest one in the keyring. It would be desirable to check with one is set in nicknym, but this will need a big refactor that I'm not sure if it's worth it just for that. - Related: #6658, #8059
2016-06-10[bug] Add KeyNotFound importZara Gebru
Two tests where failing, because - Related: #7987
2016-06-01[test] test key generation (skipped)Ruben Pollan
2016-06-01fixup! [feat] remove the keytype supportRuben Pollan
2016-06-01[feat] remove request dependencyRuben Pollan
2016-06-01[feat] make get_all_keys aware of active addressesRuben Pollan
- Resolves: #8068
2016-06-01[refactor] move soledad document definitions to it's own fileRuben Pollan
2016-06-01[feat] remove keytype from build_key_from_dictRuben Pollan
2016-06-01[feat] remove the keytype supportRuben Pollan
- Resolves: #8031
2016-06-01[refactor] remove EncryptionKeyRuben Pollan
2016-06-01[refactor] move TempGPGWrapper to it's own fileRuben Pollan
2016-06-01[refactor] remove EncryptionSchemeRuben Pollan
2016-05-30[bug] fix invalid json warning when key fetch failsZara Gebru
Raise KeyNotFound error, when nicknym throws response 404, as it fails to find a key and add tests. - Resolves: #7987
2016-05-25Merge remote-tracking branch 'pixelated/6200_add_support_for_binary_key' ↵Ruben Pollan
into develop - Resolves: #6200
2016-05-24Issue #287: add tests for binary key and refactorZara Gebru
2016-05-18[pkg] update to new versioneer json formatKali Kaneko (leap communications)
2016-05-04[pkg] update changelog to 0.5.1 releaseKali Kaneko (leap communications)
I left out the changelog bump on 0.5.1 tag by mistake
2016-04-27[feat] creat an iterator to build dictsRuben Pollan
Need pizza!!!!!!
2016-04-26[pkg] fix changelog path in manifestKali Kaneko (leap communications)
2016-04-19[bug] encryption keys can now be serialized to json using key.get_dict()elijah
2016-04-18[pkg] Update changelogKali Kaneko (leap communications)
2016-04-11[feat] reduce log level for encrypt/decrypt errorsRuben Pollan
* Related: #8022
2016-04-11[bug] delete versioneer duplicated blockKali Kaneko (leap communications)
2016-04-11[style] Removed duplicated importBruno Wagner
There was a duplicate import for get_versions, that was not at the top of the file, that caused a pep warning and was fixed in this commit
2016-04-01[pkg] update to versioneer 0.16Kali Kaneko
2016-03-20[bug] Return KeyNotFound Failure if not valid key is given to put_raw_keyRuben Pollan
- Resolves: #7974
2016-02-25[test] refactor key deletion testsRuben Pollan
2016-02-25[feat] update usage only if neededRuben Pollan
During encryption we where updating 'enc_used' in the key without checking if it was already set.
2016-02-25[doc] soledad docs fieldsRuben Pollan
- Resolves: #7712
2016-02-25[feat] Make EncryptionKey aware of the active addressRuben Pollan
2016-02-25[test] add updater testsRuben Pollan
2016-02-25[feat] Use fingerprints instead of key idsRuben Pollan
- Resolves: #7500
2016-02-25[feat] Migrate soledad documents by adding versioning fieldRuben Pollan
- Resolves: #7713
2016-02-25[feat] move validation, usage and audited date to the active documentRuben Pollan
- Resolves: #7485
2016-02-23[feat] defer decrypt, gen_key and encryptVictor Shyba
This commit put those gnupg operations to be run on external threads limited by the amount of cores present on user machine. Some gnupg calls spawn processes and communicating to them is a synchronous operation, so running outside of a reactor should improve response time by avoiding reactor locking.
2016-02-09[style] fix pep8Ruben Pollan
2016-02-04[docs] add docstrings and fixes pep8Victor Shyba
Some methods were missing docstrings and some code was exceeding the 80 column limit. Also some asserts arent needed anymore.
2016-01-29[feat] use HTTPClient instead of requestsVictor Shyba
This commit adapts code to use HTTPClient instead of requests. requests library receives a certificate as parameter during requests while HTTPClient recelives a cert only on constructor. In order to have both types (leap cert and commercial certs) working together we introduced two clients on constructor.
2016-01-27[refactor] isolate requestsVictor Shyba
Isolate requests lib related code and update docstrings.
2016-01-27[feat] defer blocking requests calls to threadVictor Shyba
That's a temporary fix for #6506 This commit adapts code to deal with deferreds coming from calling requests from Twisted. Next step is just to change requests for twisted http client present in leap.common. Unfortunately, this last step will be a bit longer and would be better to have integrations tests to ensure current HTTP behaviour.
2015-10-28[pkg] fold in changesIvan Alejandro
2015-10-08[pkg] bump common dependency (due to events-async)Kali Kaneko
2015-10-01[feat] self-repair the keyring if keys get duplicatedRuben Pollan
In some cases in the past keys got stored twice in different documents. Hopefully this issue is solved now, this tries to self-repair the keyring if encounters that. This is not really solving the problem, if it keeps happening we need to investigate the source. - Resolves: #7498