Add generic unlock key setting and removal.
* Replace {Set|Remove}MasterKey() by generic {Set|Remove}UnlockKey()
that works on a keyring.
* Implement {Set|Remove}MasterUnlockKey() on top of that.
* Rename the commands and constants accrodingly.
* Implement setting and removing keyring unlock keys.
This commit is contained in:
committed by
Ryan Leavengood
parent
a82011ff96
commit
4a0460a9bc
@@ -30,8 +30,8 @@ enum {
|
||||
KEY_STORE_ADD_KEYRING = 'KaKR',
|
||||
KEY_STORE_REMOVE_KEYRING = 'KrKR',
|
||||
KEY_STORE_GET_NEXT_KEYRING = 'KnKR',
|
||||
KEY_STORE_SET_MASTER_KEY = 'KsMK',
|
||||
KEY_STORE_REMOVE_MASTER_KEY = 'KrMK',
|
||||
KEY_STORE_SET_UNLOCK_KEY = 'KsuK',
|
||||
KEY_STORE_REMOVE_UNLOCK_KEY = 'KruK',
|
||||
KEY_STORE_ADD_KEYRING_TO_MASTER = 'KarM',
|
||||
KEY_STORE_REMOVE_KEYRING_FROM_MASTER = 'KrrM',
|
||||
KEY_STORE_GET_NEXT_MASTER_KEYRING = 'KnrM',
|
||||
|
||||
Reference in New Issue
Block a user