Skip to content

Commit 8390115

Browse files
committed
add user keyring command
Signed-off-by: Serge Hallyn <[email protected]>
1 parent e3070f3 commit 8390115

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

keyring.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ func UserSessionKeyring() (Keyring, error) {
104104
return newKeyring(keySpecUserSessionKeyring)
105105
}
106106

107+
func UserKeyring() (Keyring, error) {
108+
return newKeyring(keySpecUserKeyring)
109+
}
110+
107111
// Return the current group keyring.
108112
func GroupKeyring() (Keyring, error) {
109113
return newKeyring(keySpecGroupKeyring)

0 commit comments

Comments
 (0)