Skip to content

Commit

Permalink
Provide a hint to remove unknown recipients (gopasspw#1714)
Browse files Browse the repository at this point in the history
Fixes gopasspw#1701

RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
  • Loading branch information
dominikschulz authored Jan 15, 2021
1 parent 57e1ad8 commit 774eb1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/action/recipients.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ func (s *Action) RecipientsRemove(c *cli.Context) error {
keys, err := crypto.FindRecipients(ctx, r)
if err != nil {
out.Cyan(ctx, "WARNING: Failed to list public key '%s': %s", r, err)
out.Yellow(ctx, "Hint: You can use `--force` to remove unknown keys.")
if !force {
continue
}
Expand Down

0 comments on commit 774eb1d

Please sign in to comment.