Commit be35d0bf authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Support unregistering from all keyshare servers

parent d03f7f3c
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment