Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
be35d0bf
Commit
be35d0bf
authored
Oct 14, 2017
by
Sietse Ringers
Browse files
Support unregistering from all keyshare servers
parent
d03f7f3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
manager.go
View file @
be35d0bf
...
...
@@ -657,6 +657,11 @@ func (cm *CredentialManager) KeyshareRemove(manager SchemeManagerIdentifier) err
return
cm
.
storage
.
StoreKeyshareServers
(
cm
.
keyshareServers
)
}
func
(
cm
*
CredentialManager
)
KeyshareRemoveAll
()
error
{
cm
.
keyshareServers
=
map
[
SchemeManagerIdentifier
]
*
keyshareServer
{}
return
cm
.
storage
.
StoreKeyshareServers
(
cm
.
keyshareServers
)
}
// Add, load and store log entries
func
(
cm
*
CredentialManager
)
addLogEntry
(
entry
*
LogEntry
)
error
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment