"Key in" should be "Key for" #823

Closed
opened 2024-02-03 22:54:30 +00:00 by jonasstein · 2 comments

What I'm trying to do and why

After initialization with
borgmatic init -e repokey-blake2 -v2

I get

Key in "<RemoteRepository ssh://deadbeef@deadbeef.repo.borgbase.com/./repo>" created.
Keep this key safe. Your data will be inaccessible without it.

I think there is no key created in RemoteRepository. It should read

Key for "<RemoteRepository ssh://deadbeef@deadbeef.repo.borgbase.com/./repo>" created.
Keep this key safe. Your data will be inaccessible without it.

As we use different types of keys (SSH Key, Repokey, Passphrase...) here it would be useful to name the key.

Steps to reproduce

No response

Actual behavior

No response

Expected behavior

No response

Other notes / implementation ideas

No response

borgmatic version

1.8.5

borgmatic installation method

Gentoo package

Borg version

borg 1.2.7

Python version

Python 3.11.7

Database version (if applicable)

No response

Operating system and version

Gentoo Linux

### What I'm trying to do and why After initialization with `borgmatic init -e repokey-blake2 -v2` I get ``` Key in "<RemoteRepository ssh://deadbeef@deadbeef.repo.borgbase.com/./repo>" created. Keep this key safe. Your data will be inaccessible without it. ``` I think there is no key created in RemoteRepository. It should read ``` Key for "<RemoteRepository ssh://deadbeef@deadbeef.repo.borgbase.com/./repo>" created. Keep this key safe. Your data will be inaccessible without it. ``` As we use different types of keys (SSH Key, Repokey, Passphrase...) here it would be useful to name the key. ### Steps to reproduce _No response_ ### Actual behavior _No response_ ### Expected behavior _No response_ ### Other notes / implementation ideas _No response_ ### borgmatic version 1.8.5 ### borgmatic installation method Gentoo package ### Borg version borg 1.2.7 ### Python version Python 3.11.7 ### Database version (if applicable) _No response_ ### Operating system and version Gentoo Linux
Owner

Thanks for taking the time to file this (and work through the registration system issues)! As suspected, I can confirm that this message is coming directly from Borg, and therefore I recommend filing the issue with that project if you'd like to see a change with the message. It's possible though that Borg says "key in" because, if my understanding is correct, "repokey-blake2" actually does create a key and store it inside the repository. See https://borgbackup.readthedocs.io/en/stable/usage/init.html#encryption-mode-tldr for more information.

Thanks for taking the time to file this (and work through the registration system issues)! As suspected, I can confirm that this message is coming directly from Borg, and therefore I recommend filing the issue with that project if you'd like to see a change with the message. It's possible though that Borg says "key in" because, if my understanding is correct, "repokey-blake2" actually does create a key and store it *inside* the repository. See https://borgbackup.readthedocs.io/en/stable/usage/init.html#encryption-mode-tldr for more information.
witten added the
question / support
label 2024-02-03 23:01:53 +00:00
Owner

Closing for now, but please let me know if you have any other feedback on this! Thanks.

Closing for now, but please let me know if you have any other feedback on this! Thanks.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#823
No description provided.