Skip to content

How to pass the passphrase for encryption? #20

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions