diff options
author | Michael Muré <batolettre@gmail.com> | 2020-12-05 03:08:54 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-12-08 13:07:51 +0100 |
commit | 4ef2c1104079032336da9f2a7879f2432c2609ce (patch) | |
tree | c233921001ae0f43d5d1c62ad50148d2c5bb2e35 /repository/keyring.go | |
parent | bca9ae82745ffd619fd321f4200016c184849f94 (diff) | |
download | git-bug-4ef2c1104079032336da9f2a7879f2432c2609ce.tar.gz |
repo: finish RepoStorage move
Diffstat (limited to 'repository/keyring.go')
-rw-r--r-- | repository/keyring.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/keyring.go b/repository/keyring.go index f690b0b3..4cb3c9ff 100644 --- a/repository/keyring.go +++ b/repository/keyring.go @@ -2,7 +2,7 @@ package repository import ( "os" - "path" + "path/filepath" "github.com/99designs/keyring" ) @@ -38,7 +38,7 @@ func defaultKeyring() (Keyring, error) { ServiceName: "git-bug", // Fallback encrypted file - FileDir: path.Join(ucd, "git-bug", "keyring"), + FileDir: filepath.Join(ucd, "git-bug", "keyring"), // As we write the file in the user's config directory, this file should already be protected by the OS against // other user's access. We actually don't terribly need to protect it further and a password prompt across all // UI's would be a pain. Therefore we use here a constant password so the file will be unreadable by generic file |