Skip to content

feat: support multiple identities in the identities file#71

Open
smlx wants to merge 1 commit into
FiloSottile:mainfrom
smlx:multiple-identities
Open

feat: support multiple identities in the identities file#71
smlx wants to merge 1 commit into
FiloSottile:mainfrom
smlx:multiple-identities

Conversation

@smlx
Copy link
Copy Markdown

@smlx smlx commented May 20, 2026

This change updates the identities handling in passage to support the setup process described in the README, where multiple identites are appended to ~/.passage/identities.

Passage now ignores comments and blank lines in the identities file. It assumes any non-blank line is an identity and tries to use it to decrypt the password file.

If none of the identities it finds work, it falls back to the previous behaviour of using the entire identities file.

Closes: #51

Alternative implementation to #52.

This change updates the identities handling in passage to support the
setup process described in the README.

Passage now ignores comments and blank lines in the identities file. It
assumes any non-blank line is an identity and tries to use it to decrypt
the password file.

If none of the identities it finds work, it falls back to the previous
behaviour of using the entire identities file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow multiple identities files

1 participant