Skip to content

How to pass the passphrase for encryption? #20

@bumi

Description

@bumi

I have some keys that require a passphrase to be set.
What is the correct way to pass the passphrase for encryption? I saw some solutions to pipe it to and the passphrase-fd to STDIN or setting the passphrase globally for the gpg-agent.

piping the passphrase seems to not work as we already pipe in the data to encrypt and also have the gpg command hard coded.


I am opening this issue as I would add the information to the readme or some documentation - assuming more people have the same questions.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions