mirror of https://github.com/restic/restic.git
parent
b46774be21
commit
1e48141648
|
@ -123,7 +123,7 @@ func SearchKey(ctx context.Context, s *Repository, password string, maxKeys int)
|
||||||
return nil, ErrMaxKeysReached
|
return nil, ErrMaxKeysReached
|
||||||
}
|
}
|
||||||
|
|
||||||
debug.Log("trying key %v", name[:12])
|
debug.Log("trying key %q", name)
|
||||||
key, err := OpenKey(ctx, s, name, password)
|
key, err := OpenKey(ctx, s, name, password)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
debug.Log("key %v returned error %v", name[:12], err)
|
debug.Log("key %v returned error %v", name[:12], err)
|
||||||
|
|
Loading…
Reference in New Issue