Vincent Breitmoser
879efc2c70
fix unit tests (syntax)
2015-03-20 14:21:55 +01:00
Vincent Breitmoser
abce05d529
Merge remote-tracking branch 'origin/development' into development
...
Conflicts:
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/CertifyOperation.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/EditKeyOperation.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/results/PgpSignEncryptResult.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/CanonicalizedSecretKey.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperation.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncryptInputParcel.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/SignEncryptParcel.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CertifyKeyFragment.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EditKeyFragment.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptActivity.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/SetPassphraseDialogFragment.java
2015-03-20 14:01:07 +01:00
Vincent Breitmoser
3b04636f5d
support yubikeys in (some) edit key operations
2015-03-20 02:28:22 +01:00
Vincent Breitmoser
25d89b5550
generalize NfcOperationParcel to RequiredInputParcel, including passphrases
2015-03-19 14:21:30 +01:00
Dominik Schürmann
9c9f95c7ac
New Passphrase class for safer passphrase handling in memory
2015-03-19 03:03:46 +01:00
Vincent Breitmoser
d46fc3740b
yubikey certifications!
2015-03-18 21:12:31 +01:00
Vincent Breitmoser
aca54e31ea
generalize nfc crypto input structure
2015-03-18 18:25:44 +01:00
Dominik Schürmann
6c9b2ce0c0
Add missing license headers
2015-03-15 00:49:29 +01:00
Manoj Khanna
5b5e5b4981
Fix for Issue #1115
2015-03-13 00:53:05 +05:30
Adithya Abraham Philip
08972de68f
added contact sync at end of CertifyOperation
2015-03-11 23:11:01 +05:30
Vincent Breitmoser
30ca8637ff
add support for certification of user attributes
2015-03-08 01:46:30 +01:00
Dominik Schürmann
3bc3e3e6f4
Check for insecure hash and symmetric encryption algos on decrypt
2015-03-05 17:46:43 +01:00
Dominik Schürmann
e45f000cb4
Remove advanced preferences, move compression as menu item in encrypt activites, select hash and encryption algo based on hardcoded preferred lists
2015-03-05 16:57:57 +01:00
Dominik Schürmann
bb2d80bfc8
Merge branch 'development' of https://github.com/adithyaphilip/open-keychain into adithyaphilip-development
...
Conflicts:
OpenKeychain/src/main/res/values/strings.xml
2015-03-04 20:54:11 +01:00
Morgan Gangwere
ba5eb3543e
Cleanup for style
...
Some nitpicks were had. Also, change the null UUID to a constant.
2015-03-03 08:47:16 -07:00
Morgan Gangwere
73a1ceb732
Fix root cause of #1077
...
When importing lots of keys, lots of messages about the status of keys
is generated, including some debug slime and general fluff that
isn't really needed a lot of the time. As a result, a serious bug can come
along after key imports or certain operations which cause a log to become
parceled.
This commit implements a pool to "dehydrate" logs into: they are placed
into the pool (a ConcurrentHashMap) and a UUID assigned to them, which
is parceled along. When the OperationResult is un-parceled, it reads in
the appropriate UUID bits and rehydrates the appropriate log.
In order to avoid any memory leaks, the log pool removes a reference to
the log itself, allowing the log to die a natural death at the hands
of the GC..
2015-03-03 00:51:44 -07:00
Adithya Abraham Philip
95e9e2ac30
added logging, notify for log export
2015-03-01 02:02:39 +05:30
Dominik Schürmann
6dce7c88d8
Merge keybase-proof branch
2015-02-27 01:18:18 +01:00
Vincent Breitmoser
3efaac2175
determine correct filesize during decryption from LiteralData packet
2015-02-17 18:08:45 +01:00
Vincent Breitmoser
7b24ee7b55
rewrite PgpSignEncrypt data flow
...
- introduce high-level SignEncryptOperation for uri to uri signing/encryption
- use SignEncryptParcel for high-level operation parameters
- use PgpSignEncryptInput plus streams for low-level operation parameters
- get rid of all sign/encrypt logic in KeychainIntentService
2015-02-01 23:14:26 +01:00
Vincent Breitmoser
5466d1e980
prevent recursive consolidate
2015-01-31 18:49:00 +01:00
Dominik Schürmann
5564f65a69
Merge remote-tracking branch 'origin/t/snackbar' into development
...
Conflicts:
OpenKeychain/build.gradle
2015-01-29 09:55:09 +01:00
Dominik Schürmann
e8780b4410
Merge branch 'development' into detached-sigs-api
...
Conflicts:
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java
2015-01-27 09:46:42 +01:00
Vincent Breitmoser
6c80025ead
backend support for charset in ascii-armored streams
2015-01-27 09:17:23 +01:00
Vincent Breitmoser
2bb7c3bcef
move last parts of import logic from kis into operation
2015-01-26 16:33:10 +01:00
Dominik Schürmann
34a7728cec
Merge branch 'development' into detached-sigs-api
...
Conflicts:
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java
2015-01-26 16:30:21 +01:00
Vincent Breitmoser
8d9c3c0534
lift language level to java 7, and some code cleanup
2015-01-25 12:36:00 +01:00
Vincent Breitmoser
41aba69fad
introduce PromoteKeyOperation to create dummy secret from public keys
2015-01-25 02:08:07 +01:00
Vincent Breitmoser
1516f951b7
work on divert-to-key and other keyring stuff
...
- allow modifySecretKeyRing operation without passphrase, but a only
restricted subset of operations (ie, s2k strip/divert)
- pass byte array with serial number to key edit operation to initialize
divert-to-card key
- update spongycastle to support serial numbers in iv for divert-to-card
2015-01-25 01:57:58 +01:00
Vincent Breitmoser
198ddfeff7
use Notify helper everywhere, replace supertoasts with snackbar library
2015-01-19 15:43:35 +01:00
Vincent Breitmoser
73feaa974c
small fixes to user attribute handling
2015-01-14 13:25:38 +01:00
Vincent Breitmoser
c57355b24a
actually import user attributes (though they are not shown anywhere yet)
2015-01-14 00:03:02 +01:00
Vincent Breitmoser
84eece622b
support addition of user attributes
...
Conflicts:
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/SaveKeyringParcel.java
OpenKeychain/src/main/res/values/strings.xml
2015-01-13 20:41:01 +01:00
Vincent Breitmoser
fc3397de5d
add support for user attributes (during canonicalization)
2015-01-12 20:08:35 +01:00
Dominik Schürmann
1c4b8c193d
Experimental API support for detached signatures (not tested)
2015-01-08 14:48:13 +01:00
Vincent Breitmoser
07251f35ae
minor stuff
2015-01-03 23:01:57 +01:00
Vincent Breitmoser
47ace7cea3
make certify routines more robust ( #1016 )
2015-01-03 22:14:12 +01:00
Vincent Breitmoser
2192a6badd
add more descriptive string about non-mdc encrypted data
2015-01-03 21:07:33 +01:00
Vincent Breitmoser
320f7d35ef
encapsulate high level edit key into new operation class
2015-01-03 13:55:15 +01:00
Vincent Breitmoser
7223abcf0c
extend canonicalize to strip local certificates on export
2015-01-02 00:07:05 +01:00
Vincent Breitmoser
1c1ae769ef
small improvements regarding pin tests and logging
2015-01-01 21:13:07 +01:00
Vincent Breitmoser
438405d3d2
add PIN as a SecretKeyType
2014-12-30 12:34:24 +01:00
Vincent Breitmoser
c7b0b650c1
introduce handling of notation direct key signatures, and experimental pin notation packet
2014-12-30 00:44:12 +01:00
Tim Bray
c05441667e
Moved from WebView to Spannables, some proof cleanup too
2014-11-07 12:28:27 -08:00
Vincent Breitmoser
1886dd1790
export secret and public keys in separate armored blocks
2014-10-31 18:18:09 +01:00
Vincent Breitmoser
7017527999
forgot a thing for secret key export
2014-10-30 15:14:44 +01:00
Vincent Breitmoser
e1285eec7b
Close stream on key export to avoid partial write (see #986 )
2014-10-29 22:39:38 +01:00
Vincent Breitmoser
84b234af37
Display error on certification attempt with yubikey
...
Closes #978
2014-10-26 22:29:47 +01:00
Vincent Breitmoser
510ef40f55
implement upload of keyring after certification, check that option by default
2014-10-26 01:50:48 +02:00
Vincent Breitmoser
33738b1f52
Retry canonicalization with pubkey self certs if first attempt failed
...
Fixes #974
2014-10-26 00:26:13 +02:00