Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
fbe8635
Added PassPhrasesInRAMService. Refactored code.| #372
DenBond7 May 6, 2021
015b392
Dropped using 'longId'. Migrated to use only 'fingerprint'. Updated t…
DenBond7 May 8, 2021
01663ed
Fixed bugs in tests.| #372
DenBond7 May 10, 2021
ce1da5d
Modified KeysStorage. Moved to use Passphrase instead of String where…
DenBond7 May 14, 2021
6d9e714
Moved NodeKeyDetails to 'security.model'.| #372
DenBond7 May 14, 2021
efe23bf
Renamed KeyDetails.Type to KeyDetails.SourceType.| #372
DenBond7 May 14, 2021
cb0de1f
Renamed KeyDetails to KeyImportDetails.| #372
DenBond7 May 14, 2021
a3dc863
Renamed NodeKeyDetails to PgpKeyDetails.| #372
DenBond7 May 14, 2021
cc38ae8
Refactored code.| #372
DenBond7 May 14, 2021
c0ea860
Fixed refactoring errors.| #372
DenBond7 May 14, 2021
464a966
Refactored code.| #372
DenBond7 May 14, 2021
62ae248
Refactored code.| #372
DenBond7 May 17, 2021
24ce45d
Fixed PrivateKeysManager.| #372
DenBond7 May 17, 2021
35a917f
Refactored code.| #372
DenBond7 May 17, 2021
9755c83
Replaced KeyEntity with PgpKeyDetails where it is possible.| #372
DenBond7 May 17, 2021
138f242
Modified the database schema to store different passphrase types.| #372
DenBond7 May 17, 2021
abcfc6c
Modified KeysDao to prevent saving passphrase if passphraseType == Ke…
DenBond7 May 18, 2021
7cfd151
Modified UI in CheckKeysActivity. Added some logic to CheckPrivateKey…
DenBond7 May 18, 2021
3cc081b
Merge branch 'master' into issue_372_keep_pass_phrase_in_memory
DenBond7 May 21, 2021
8c8fcdc
Fixed conflicts after merge.| #372
DenBond7 May 21, 2021
91d9820
Modified PrivateKeysViewModel to be able to store passphrase in RAM. …
DenBond7 May 21, 2021
0ea427a
Added auto manage of PassPhrasesInRAMService.| #372
DenBond7 May 21, 2021
795e3a0
Improved KeysStorageImpl.updatePassPhrasesCache().| #372
DenBond7 May 21, 2021
0ed46ee
Modified PrivateKeyDetailsFragment to be able to update(set or erase)…
DenBond7 May 24, 2021
ab88dd9
Updated a notification in PassPhrasesInRAMService.| #372
DenBond7 May 25, 2021
f07a3a0
Fixed a bug in CheckKeysActivity. Refactored code.| #372
DenBond7 May 25, 2021
ec23742
Fixed the database migration.| #372
DenBond7 May 25, 2021
804ab80
Fixed a bug in KeysStorageImpl.getPGPSecretKeyRingByFingerprint().| #372
DenBond7 May 25, 2021
4dedb27
Added some logic to KeysStorageImpl.| #372
DenBond7 May 25, 2021
2401ad6
Fixed a bug in AttachmentDownloadManagerService.| #372
DenBond7 May 25, 2021
4a5c256
Fixed some tests.| #372
DenBond7 May 26, 2021
112df5e
Fixed lint warnings.| #372
DenBond7 May 26, 2021
630961a
Marked some code as deprecated.| #372
DenBond7 May 26, 2021
d9581d0
Renamed some strings.| #372
DenBond7 May 26, 2021
452f6f6
Disabled "Keep pass phrase in memory" for release builds.| #372
DenBond7 May 26, 2021
5331914
Made notifications for PassPhrasesInRAMService silent.| #372
DenBond7 May 27, 2021
0a31363
Removed unused code.| #372
DenBond7 May 27, 2021
cd9b39b
Fixed method names.| #372
DenBond7 May 27, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"formatVersion": 1,
"database": {
"version": 24,
"identityHash": "27b09b859233fc03abaab220d650bf92",
"identityHash": "66f9c3b99371f2874df7dd3184f8b604",
"entities": [
{
"tableName": "accounts_aliases",
Expand Down Expand Up @@ -608,7 +608,7 @@
},
{
"tableName": "keys",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `long_id` TEXT NOT NULL, `account` TEXT NOT NULL, `account_type` TEXT DEFAULT NULL, `source` TEXT NOT NULL, `public_key` BLOB NOT NULL, `private_key` BLOB NOT NULL, `passphrase` TEXT DEFAULT NULL, FOREIGN KEY(`account`, `account_type`) REFERENCES `accounts`(`email`, `account_type`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `fingerprint` TEXT NOT NULL, `account` TEXT NOT NULL, `account_type` TEXT DEFAULT NULL, `source` TEXT NOT NULL, `public_key` BLOB NOT NULL, `private_key` BLOB NOT NULL, `passphrase` TEXT DEFAULT NULL, FOREIGN KEY(`account`, `account_type`) REFERENCES `accounts`(`email`, `account_type`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "id",
Expand All @@ -617,8 +617,8 @@
"notNull": false
},
{
"fieldPath": "longId",
"columnName": "long_id",
"fieldPath": "fingerprint",
"columnName": "fingerprint",
"affinity": "TEXT",
"notNull": true
},
Expand Down Expand Up @@ -669,14 +669,14 @@
},
"indices": [
{
"name": "long_id_account_account_type_in_keys",
"name": "fingerprint_account_account_type_in_keys",
"unique": true,
"columnNames": [
"long_id",
"fingerprint",
"account",
"account_type"
],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `long_id_account_account_type_in_keys` ON `${TABLE_NAME}` (`long_id`, `account`, `account_type`)"
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `fingerprint_account_account_type_in_keys` ON `${TABLE_NAME}` (`fingerprint`, `account`, `account_type`)"
}
],
"foreignKeys": [
Expand Down Expand Up @@ -987,7 +987,7 @@
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '27b09b859233fc03abaab220d650bf92')"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '66f9c3b99371f2874df7dd3184f8b604')"
]
}
}
Loading