Commit graph

19 commits

Author SHA1 Message Date
CrazyMax
27cae0743d
gpg: fallback to gpg homedir if HOME not set 2023-09-03 15:31:29 +02:00
CrazyMax
05fea506c1
input to set private key trust level 2023-05-06 19:08:10 +02:00
CrazyMax
5b91b208d8
Remove setOutput workaround 2022-10-18 23:40:13 +02:00
CrazyMax
a5af0f629b
chore: update dev dependencies and workflow (#130)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-03-15 07:56:21 +01:00
Jose Celano
11e26b9f0b
Fix error deleting keys with short key id (#129)
Error:

```
gpg: can't do this in batch mode
```

The GPG command:

```
gpg --batch --yes --delete-secret-keys FINGERPRINT
```

requires to use a fingerprint if you use the `--batch` option.

We were using the short ID of the primary key.
2022-03-03 14:48:37 +01:00
Jose Celano
2724049ae2
Set passphrase only for the fingerprint being used (#123)
* If fingerprint input is provided it sets only the passphrase for that key

* Update README with how to use subkeys example
2022-02-28 16:36:54 +01:00
CrazyMax
60f6f3e9a9
Handle signing-only subkeys (#112)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-15 13:40:04 +02:00
CrazyMax
d0df47e309
Fix setOutput (#86)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-09 11:15:20 +02:00
CrazyMax
0a25c3b971
Update generated content 2020-09-03 21:32:38 +02:00
yanndegat
708e04fe6f
Set passphrase for all key keygrips (#57)
Co-authored-by: yann degat <yann.degat@corp.ovh.com>
2020-09-03 15:19:11 +00:00
CrazyMax
ffa7f19242
Enhanced tests 2020-05-18 17:31:00 +02:00
Alejandro Hernández
fe2d0d79b1
Fix importing of base64 armored string (#18) 2020-05-18 17:15:05 +02:00
Alejandro Hernández
ac07b74cce
Allow importing GPG key as a base64 string (#14) 2020-05-13 14:10:12 +02:00
CrazyMax
7a355f8c5b
Centralize test key/passphrase 2020-05-12 20:30:44 +02:00
CrazyMax
3ff0e7f81d
Kill GnuPG agent at POST step 2020-05-06 00:23:29 +02:00
CrazyMax
7f1aa5edc1
Use gpg-connect-agent to seed the internal cache of gpg-agent
Fix keygrip (#10)
2020-05-06 00:10:34 +02:00
CrazyMax
aca1ab6f61
Configure and check committer email against GPG user address 2020-05-05 20:01:45 +02:00
CrazyMax
a8f7b5960a
Allow to seed the internal cache of gpg-agent with provided passphrase (#5)
Better handling of commands output streams
2020-05-04 16:17:14 +02:00
CrazyMax
851e05c587
Initial commit 2020-05-03 20:46:05 +02:00