mirror of https://github.com/borgbackup/borg.git
migrate-to-repokey: ask using canonical_path() as we do everywhere else
This commit is contained in:
parent
4e0422cdf0
commit
5bc03cc042
|
@ -476,7 +476,7 @@ class PassphraseKey(ID_HMAC_SHA_256, AESKeyBase):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def detect(cls, repository, manifest_data):
|
def detect(cls, repository, manifest_data):
|
||||||
prompt = 'Enter passphrase for %s: ' % repository._location.orig
|
prompt = 'Enter passphrase for %s: ' % repository._location.canonical_path()
|
||||||
key = cls(repository)
|
key = cls(repository)
|
||||||
passphrase = Passphrase.env_passphrase()
|
passphrase = Passphrase.env_passphrase()
|
||||||
if passphrase is None:
|
if passphrase is None:
|
||||||
|
|
Loading…
Reference in New Issue