Decrypt with age passphrase protected key doesn't work
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.1k
- Forks
- 1.1k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 9
Description
Hello
I created a passphrase protected key age-keygen | age -p > key.age but when using this file in SOPS_AGE_KEY_FILE to decrypt the encrypted file it doesn't work as it is expecting private keys in plaintext.
It's a know issue or is there a workaround it?
Thank you
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported age-keygen | age -p > key.age workflow with SOPS_AGE_KEY_FILE and compare it with plaintext private-key handling. Trace how the key file is read and decrypted; done means passphrase-protected age keys either work or the supported limitation and workaround are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100