mirror of
https://github.com/restic/restic.git
synced 2026-11-23 05:42:39 +00:00
server: Add config
This commit is contained in:
1 parent
bebb08ee7e
commit
d4bf5bb279
5 files changed
+55
-24
No files matched your search
+2
-2
@@ -50,9 +50,9 @@ type Key struct {
|
||||
name string
|
||||
}
|
||||
|
||||
// CreateMasterKey creates a new master key in the given backend and encrypts
|
||||
// createMasterKey creates a new master key in the given backend and encrypts
|
||||
// it with the password.
|
||||
func CreateMasterKey(s *Server, password string) (*Key, error) {
|
||||
func createMasterKey(s *Server, password string) (*Key, error) {
|
||||
return AddKey(s, password, nil)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user