18 Commits
Author SHA1 Message Date
Alex Fong c97d74b370 Changed HashMap to ArrayList<Pair> 2016-05-19 16:48:56 +08:00
Alex Fong 21430c0b49 Removed * import 2016-05-19 14:28:41 +08:00
Alex Fong 774c806f46 Added passphrase check for stripped masterkeys 2016-05-19 13:08:10 +08:00
Alex Fong 7b02161ce7 Slight changes for consistency 2016-05-16 00:59:57 +08:00
Alex Fong 614f46a630 Shifted duplicate method implementations from KeyRing to openpgp-api submodule 2016-05-15 23:26:09 +08:00
Alex Fong 2f33fe3118 A simple fix to clear the list of detected keys when parsing key file gives an error. 2016-05-07 08:44:59 +08:00
Alex Fong 6cf3e4c891 Slight amendments for clarity 2016-05-05 07:57:20 +08:00
Alex Fong bc3aa44b22 Refactored to reduce coupling between ChangeUnlockParcel and SaveKeyringParcel 2016-05-05 07:57:20 +08:00
Alex Fong a5a2335673 Added license to ChangeUnlockOperation 2016-05-05 07:57:20 +08:00
Alex Fong 01c2e1429b Edited comments 2016-05-05 07:57:20 +08:00
Alex Fong 89cf3bb6d9 Fixed warnings encountered 2016-05-05 07:57:20 +08:00
Alex Fong 9d35dcb0e9 Added warning dialog for importing keys 2016-05-05 07:57:20 +08:00
Alex Fong f43edcdd7a Refactoring: Removed PassphraseChangeParcel and placed its functionality into ChangeUnlockParcel. 2016-05-05 07:57:20 +08:00
Alex Fong dfcde9242d Removed unrequired code, standardized terms used. 2016-05-05 07:57:01 +08:00
Alex Fong b490be9c1c Refactored code to use functions already present in code, reduced liberties taken when modifying functions.
Todo:
Fix indentation for error messages
2016-05-05 07:56:26 +08:00
Alex Fong 525788359c (WIP) Change password when key is stripped #1692
Approach:
Find the first unstripped secret key and use it for passphrase verification
All unstripped keys will have their passphrase changed to new passphrase, if possible.

Current Progress:
Changing the passphrase of keys works fine.
Refactoring to combine "modifySecretKeyring" and newly added method, "modifyKeyRingPassword"
may be possible if given the go-ahead.
2016-05-04 22:36:23 +08:00
Alex Fong cb9bdb3cf7 Redesigned subkey creation dialog and changed default key type created to RSA, 3072 bit.
Added code to prevent removal of master subkey when modifying a new key.
2016-04-01 23:12:11 +08:00
Alex Fong b5211b33de Provisional backup-code text selection fix
For issue #1779, a provisional fix where selection is still possible, but more difficult.
Preventing selection altogether is not possible due to the implementation in the Masked-Edittext dependency.

To be updated when Masked-Edittext fixes this bug.
2016-03-12 12:46:20 +08:00