Skip to content

age - r specify public key file #687

@ghost

Description

age - r support specify public key file

$ age-keygen -pq | age -p -o encrypted-identity.txt
$ age -r encrypted-identity.txt file.txt > file.txt.age

‑r encrypt cannot specify encrypted‑identity.txt
‑i decrypt can specify encrypted‑identity.txt
This is strange.

age -d -i encrypted-identity.txt file.txt.age > file.txt

age-keygen -pq is long and inconvenient to type in the terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions