summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-28[bug] fix verify keys usageRuben Pollan
The latests refactor missed one line.
2015-09-25[refactor] improve readabilityKali Kaneko
Improve readability of operations on generic keys, by assigning the class matching the type of key (_wrapper_map[ktype]) at the beginning of each block. in the future, we could pass the type of key (only PGP keys being used at the moment) on initialization of the Keymanager, so we don't have to pass the ktype on each method call.
2015-09-24[refactor] refactor key parsingKali Kaneko
so that it can be tested without needing to instantiate the whole OpenPGPScheme object, that receives a soledad instance.
2015-09-24[style] more pep8 fixesKali Kaneko
2015-09-24[style] fix pep8 warningsFolker Bernitt
2015-09-24[bug] keep combined file longer in scopeFolker Bernitt
In previous commit 9546348c, the combined bundle ca was not long enough in scope and was therefore deleted when it actually was used. Adopted test to check whether file is deleted.
2015-09-24[tests] Add regression tests for sign_usedFolker Bernitt
Fails if wrong address is passed to the put_key method, or wrong key is marked as sign_used. - Related: #7420
2015-09-24[bug] don't repush a public key with different addressRuben Pollan
During decryption the signing public key was getting repush with a different address as part of the verify usage flagging. - Resolves: https://github.com/pixelated/pixelated-user-agent/issues/466 - Related: #7420
2015-09-24Merge branch 'fix_empty_string_ca_certs' into developRuben Pollan
2015-09-24[bug] signal expired auth token to the GUIRuben Pollan
In case of InvalidAuthTokeError from soledad sync we need signal the GUI, so it will request her to log in again. - Resolves: #7430
2015-09-24[bug] treat empty string ca_cert_path as NoneFolker Bernitt
Fixup for 9546348c36. This problem only occurs in test setups where '' is passed to ca_cert_path.
2015-09-23[feat] disable local-only bind on docker containerIvan Alejandro
- Related: #7471
2015-09-23[docs] update interfaces documentationKali Kaneko
2015-09-23[refactor] avoid circular import due to rfc3156Kali Kaneko
2015-09-23[docs] update docs to 0.4.0 releaseKali Kaneko
2015-09-23Merge remote-tracking branch 'leapcode/pr/206' into developKali Kaneko
2015-09-23[bug] Make _collection_mapping a instance variableFolker Bernitt
As a class variable multiple account instances share mailboxes which is bad if its different users or tests
2015-09-22[style] fix pep8 warningsFolker Bernitt
2015-09-22[refactor] log the added key explicitelyKali Kaneko
2015-09-22[bug] don't extract openpgp header if valid attached keyRuben Pollan
The key extract should check first for attached keys and if this fails then should try the OpenPGP header. - Resolves: #7480
2015-09-22[bug] catch request exceptionsRuben Pollan
On fetch_key we were not catching the request exceptions, now they are returned as failure in the deferred as it should. - Related: #7410
2015-09-21[bug] filter out Nones in the sequence of messagesKali Kaneko
2015-09-21[feat] more verbosity in get_key wrong address logRuben Pollan
2015-09-21[doc] document return valuesKali Kaneko
2015-09-21[style] fix pep8 problemsRuben Pollan
2015-09-18[feature] Use ca_bundle when fetching keys by urlFolker Bernitt
This is necessary as a fetch by url will talk to remote sites or, for providers with a commercial cert, with a cert that had not been signed with the provider CA. - support lookup of local keys by url for providers with a commercial cert - combine ca_bundle with ca_cert_path if specified - close soledad after each test
2015-09-17[feat] add logging to fetch_keyRuben Pollan
In case of failure of fetch_key will be useful to have some logging telling us wich key is fetching. - Related: #7410
2015-09-16[style] pep8 fixKali Kaneko
2015-09-16[style] clean up incoming/service.pyRuben Pollan
2015-09-16[bug] don't fail importing mismatched attached keyRuben Pollan
We can't import attached keys with different email address than the sender. Now we don't fail in this case, just log it. - Resolves: #7454
2015-09-16[pkg] bump leap versions neededKali Kaneko
2015-09-16[feat] use async events apiKali Kaneko
in this way, we're using twisted reactor instead of having another thread with zmq's own copy of tornado ioloop. Resolves: #7274
2015-09-14[feat] use async events apiKali Kaneko
this avoids using a separate thread with tornado ioloop for events client, since we can use twisted reactor. - Resolves: #7274
2015-09-10Merge pixelated's X-Leap-Encryption into developRuben Pollan
2015-09-09[docs] beautify links to docsKali Kaneko
2015-09-09[docs] update link to nicknym docsKali Kaneko
2015-09-09[docs] add downloads infoKali Kaneko
2015-09-09[docs] fix broken pypi badgeKali Kaneko
2015-09-09move to bonafide_cliKali Kaneko
2015-09-09add simple bonafide_cli for testsKali Kaneko
2015-09-09ignore .projectKali Kaneko
2015-09-09use dynamic dipatcher; add signupKali Kaneko
2015-09-09add coloramaKali Kaneko
2015-09-09add dynamic dispatcher for actionsKali Kaneko
2015-09-09move srp_auth to _srpKali Kaneko
2015-09-08[feature] improve getmail utilityKali Kaneko
So now it: - Accepts credentials in a file pointed by environment variable. - Allows to specify the mailbox to select as a command line flag. - Allows to select a given message by subject. For example: BITMASK_CREDENTIALS=/tmp/bm.secrets ./getmail --mailbox INBOX --subject 'test mail The two flags are case-insensitive. This is intended to be used as a helper in end-to-end tests. Getting a message by subject it's suboptimal, but I think it's good enough for our testing purposes right now. Related: #7427
2015-09-04smtp certs [WIP]Kali Kaneko
2015-09-04factor out http utils, add decorator for authenticated methodsKali Kaneko
2015-09-03initial commitKali Kaneko
skeleton for module
2015-09-02[style] fixing pep8 warningsDuda Dornelles