Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Show warning on every access to an unencrypted repo? #9072

Open
Milestone
@bitwombat

Description

Due to being a dumb dumb, I've had an unencrypted repo for YEARS because my key had an empty password.

I only found out about it because I was restoring from a new machine and this message came up:

Warning: Attempting to access a previously unknown unencrypted repository!

Two problems:

  1. This message only shows once on a given machine.
  2. It doesn't say which of two reasons it's "unencrypted". I did a borg info and saw that my repo was encrypted, so I almost shrugged it off as a bug it until a redditor mentioned I might have an empty passphrase.

Better would be for this sort of behavior, every access.

$ borg info server:repo
Warning: Repo is unencrypted (encryption=none set)

or

$ borg info server:repo
Warning: Repo is unencrypted (empty key passphrase)

People with a known unencrypted repo can set an env var to shut it up.

I know it's not terribly impressive that I let this go unnoticed, but it was silent and there will be other people hanging out with me on this part of the bell curve :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /