Skip to content

Multiple URLs with the same identities cause duplicated recipients in age encrypted secrets #437

@Ma27

Description

@Ma27

Consider secret config like this:

[batou]
secret_provider = age
members =
    https://my.flyingcircus.io/rg/2342/sshkeys/login/blub/keys
    https://my.flyingcircus.io/rg/2343/sshkeys/login/blub/keys

Now, if I'm allowed to log into both RGs, there are two recipients with the same ssh key.
My expectation would be that for each user, only one recipient is added to age_keys.txt.

It's not a big deal in practice, but still a little odd.

Metadata

Metadata

Assignees

No one assigned

    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