Skip to content

Command gopass recipients add/rm fails with "Failed to write [...] : must not start with a slash" #3473

Closed

Description

@t4nec0

In version 1.17.0-rc.2 (bb62be09) adding or removing gpg keys/recipients to/from a store fails with error

Worker 0: Failed to write /bar/baz: invalid secret name "/bar/baz": must not start with a slash

How to reproduce

$ gopass ls foo
foo/
└── bar/
    └── baz


$ gopass recipients add --store foo an@email.com

Starting reencrypt
] 1 / 1 [Goooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooopass] 100.00%
Worker 0: Failed to write /bar/baz: invalid secret name "/bar/baz": must not start with a slash

Environment

  • OS: Ubuntu 24.04.4 LTS
  • gopass Version: gopass 1.17.0-rc.2 (bb62be09) go1.25.0 linux amd64
  • Installation method: manual deb file installation (from gopass' releases )

Activity

  1. dominikschulz commented on Jun 29, 2026

    @dominikschulz
    Member

    Thanks for reporting this. That sounds like a serious regression. Will try to figure out what's wrong.

  2. MysticalApple commented on Sep 9, 2026

    @MysticalApple

    I'm having the same issue on release 1.17.0.

    Environment

    • OS: Arch Linux
    • gopass Version: gopass 1.17.0 go1.27.0-X:nodwarf5 linux amd64
    • Installation method: pacman -S gopass
  3. added a commit that references this issue on Sep 9, 2026
    a5478ba
  4. added a commit that references this issue on Sep 9, 2026
    b976953
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址