Skip to content

minisign: add support for reading passwords from STDIN#12

Merged
aead merged 1 commit intomainfrom
read-password
Aug 11, 2021
Merged

minisign: add support for reading passwords from STDIN#12
aead merged 1 commit intomainfrom
read-password

Conversation

@aead
Copy link
Copy Markdown
Owner

@aead aead commented Aug 9, 2021

This commit fixes #11 by adding support for reading
passwords from STDIN when generating / re-creating
keys and signing files.

Now, the password can be passed by redirecting it to
minisign's STDIN. For example:

echo 12345678 | minisign -G -s my-key.key -p my-key.pub

In this case, minisign will not ask for a password interactively
but read the password from STDIN.

This commit fixes #11 by adding support for reading
passwords from STDIN when generating / re-creating
keys and signing files.

Now, the password can be passed by redirecting it to
minisign's STDIN. For example:
```
echo 12345678 | minisign -G -s my-key.key -p my-key.pub
```

In this case, minisign will not ask for a password interactively
but read the password from STDIN.

Signed-off-by: Andreas Auernhammer <[email protected]>
@aead aead mentioned this pull request Aug 9, 2021
@aead aead merged commit 4b0a1d5 into main Aug 11, 2021
@aead aead deleted the read-password branch September 2, 2021 09:57
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.

Read password from STDIN

1 participant