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
CrazyMax
064ca09e2d
Align default ttl with GitHub job run timeout ( #126 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-03-01 10:52:02 +01:00
Jose Celano
baa427b5b4
Delete key using primary key ID not subkey ID ( #125 )
2022-02-28 16:53:00 +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
2d28688edd
Cleanup ( #117 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-11-19 12:54:41 +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
3a2a627ae6
POSIX-compliant inputs names ( #109 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-05 01:12:28 +02:00
CrazyMax
e8a90f2bec
OpenPGP.js v5 ( #78 )
...
* Bump path-parse from 1.0.6 to 1.0.7 (#104 )
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* OpenPGP.js 5.0.0
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-05 01:00:24 +02:00
CrazyMax
ae17b9f8de
Add git-config-global
input ( #103 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-10 09:28:13 +02:00
CrazyMax
dd220e93c3
Use built-in getExecOutput
( #102 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-10 09:00:29 +02:00
CrazyMax
93f53be329
Handle if-asked
for git-push-gpgsign
input ( #100 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-10 08:46:50 +02:00
CrazyMax
0dd57a5e3b
Use getBooleanInput
( #101 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-10 08:42:33 +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
Xunnamius
cef50da2f6
fix: ensure gitCommitterEmail uses correct action input ( #67 )
2020-11-24 12:03:54 +00:00
CrazyMax
106dc525b1
Move GPG_PRIVATE_KEY env var to gpg-private-key input
...
Move PASSPHRASE env var to passphrase input
Rename git_user_signingkey input to git-user-signingkey
Rename git_commit_gpgsign input to git-commit-gpgsign
Rename git_tag_gpgsign input to git-tag-gpgsign
Rename git_push_gpgsign input to git-push-gpgsign
Rename git_committer_name input to git-committer-name
Rename git_committer_email input to git-committer-email
2020-09-06 22:03:16 +02:00
CrazyMax
0a25c3b971
Update generated content
2020-09-03 21:32:38 +02:00
CrazyMax
e55ea8984f
Unused
2020-09-03 21:32:29 +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
Tim Harris
d2c8669ec3
Add workdir input ( #55 )
2020-08-28 20:30:49 +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
06280b7886
Committer email does not match
2020-05-13 00:31:51 +02:00
CrazyMax
07f2f56021
Update index
2020-05-12 20:48:57 +02:00
Alejandro Hernández
ccc720bb40
Use GPG key name/email as default values ( #13 )
2020-05-12 20:18:51 +02:00
CrazyMax
caeb8511cc
Clean code
2020-05-11 19:14:47 +02:00
CrazyMax
54b0e37f40
Add fingerprint, keyid and email outputs
2020-05-07 20:42:27 +02:00
CrazyMax
517f62fc0c
Codecov
2020-05-06 18:00:13 +02:00
CrazyMax
5701df18ba
Fix inputs
2020-05-06 01:21:41 +02:00
CrazyMax
e097cc9691
Add git_tag_gpgsign and git_push_gpgsign inputs
...
Some inputs and secrets have been renamed
2020-05-06 01:15:33 +02:00
CrazyMax
16c87f2e17
Bring back support for Windows
2020-05-06 00:31:46 +02:00
CrazyMax
3b574952da
Cleanup code
2020-05-06 00:27:45 +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
feede15671
Enable signing for Git commits and tags ( #4 )
2020-05-04 20:59:11 +02:00
CrazyMax
aae088b80a
Cleanup
2020-05-04 20:10:12 +02:00
CrazyMax
6549c6d230
Drop Windows support
2020-05-04 20:06:27 +02:00
CrazyMax
f71c727ad9
Use which to determine gpg-preset-passphrase path
2020-05-04 19:55:53 +02:00
CrazyMax
e124e7303a
Windows runner uses Git GnuPG
2020-05-04 19:39:17 +02:00
CrazyMax
28569120f0
Use GnuPG Chocolatey on Windows
2020-05-04 19:29:58 +02:00
CrazyMax
2d5664ca5a
Try to solve gpg-preset-passphrase
2020-05-04 19:17:01 +02:00
CrazyMax
cb88a0fce7
Display libexecdir
2020-05-04 16:40:21 +02:00
CrazyMax
c263b24136
Fix homedir
2020-05-04 16:32:30 +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
297fd4647b
Fix tmp path for signing key
2020-05-03 21:42:55 +02:00
CrazyMax
cd56930939
Display GnuPG info
2020-05-03 21:33:19 +02:00
CrazyMax
f5631011c6
Read private key on cleanup
2020-05-03 21:22:08 +02:00
CrazyMax
ee885cc34c
Check private key deletion
2020-05-03 21:17:25 +02:00