Commit graph

1770 commits

Author SHA1 Message Date
Mariano Cano
163eb7029c Refactor cloudkms signer to return an error on the constructor. 2021-02-19 15:36:55 -08:00
Mariano Cano
cae08bff80 Validate that the signer can get the public key. 2021-02-19 11:28:35 -08:00
max furman
96b38ccd55 [actions] revert build/test/lint step to 1.15.6 2021-02-18 20:41:33 -08:00
max furman
f88f58440f add //nolint for new 1.16 deprecation warnings
- dsa
- pem.DecryptPEMBlock
2021-02-18 20:14:20 -08:00
max furman
296d9ee293 [actions] forgot to update make target in test action 2021-02-18 19:15:47 -08:00
max furman
836f68979c [actions] always build/test with go1.16 + rename travis target 2021-02-18 19:13:09 -08:00
max furman
8921a2e8bf [actions] remove unused actions 2021-02-18 14:48:54 -08:00
max furman
95fa37fa0c [actions] depend on 'test' finishing rather than 'release' - docker 2021-02-18 14:44:05 -08:00
max furman
3473b88ac8 [actions] build but don't push docker on -rc 2021-02-18 14:39:25 -08:00
max furman
2c495a347f [actions] renaming jobs and setting up docker job 2021-02-18 14:28:17 -08:00
max furman
036c3d8d51 [actions] give ids to each goreleaser build 2021-02-18 14:04:28 -08:00
max furman
6920af0521 [action] let goreleaser create the release 2021-02-18 13:55:50 -08:00
max furman
049be1707a Run cgo tests for normal pushes 2021-02-18 13:25:27 -08:00
max furman
47e2e59491 Install libpcsclite-dev dep before running linter 2021-02-18 13:09:27 -08:00
max furman
847ae6c3f9 noop for tag 2021-02-18 12:47:51 -08:00
max furman
220c8d0da4 First commit at replacing travis with actions 2021-02-18 12:38:32 -08:00
max furman
d177279044 noop 2021-02-17 21:37:59 -08:00
max furman
b3fac3570e Update distribution docs 2021-02-17 16:23:03 -08:00
Mariano Cano
15662c1f04
Merge pull request #478 from smallstep/kms-uri
KMS URI configuration
2021-02-17 14:36:57 -08:00
Mariano Cano
3eb24d7d01 Remove duplicated replace. 2021-02-16 17:14:15 -08:00
Mariano Cano
2ba4e37530 Add URI support to configure yubikeys. 2021-02-16 15:02:20 -08:00
Mariano Cano
4c562160fc Fix typo. 2021-02-16 14:52:55 -08:00
Mariano Cano
4bec2b04ec Add support for retired key management slots on yubikey.
Fixes #461
2021-02-16 14:47:34 -08:00
Mariano Cano
a947779795 Add uri support initializing cloudkms. 2021-02-16 13:11:47 -08:00
Mariano Cano
4902e45729 Add URI support initializing an awskms. 2021-02-16 13:10:53 -08:00
Mariano Cano
4745be2309
Merge pull request #474 from smallstep/cgo-or-not-cgo
Permit linting and testing without CGO support.
2021-02-12 16:09:29 -08:00
Mariano Cano
57075d9518 Phony travis. 2021-02-12 15:26:04 -08:00
Mariano Cano
1ddddb6bc7 Permit linting and testing without CGO support.
Use CGO for testing and building in travis.
Fixes #471
2021-02-12 13:18:30 -08:00
Mariano Cano
ddd6bc16d7
Merge pull request #457 from smallstep/pkcs11
Add support for PKCS #11 KMS.
2021-02-12 12:33:54 -08:00
Mariano Cano
e446e22520 Remove extra default. 2021-02-11 19:25:16 -08:00
Mariano Cano
3648c3fab6 Fix error message when --kms is not passed. 2021-02-11 19:24:09 -08:00
Mariano Cano
d03c088ab7 Add test cases for uris with only the schema. 2021-02-11 19:14:35 -08:00
Mariano Cano
f6cbd9dc88 Fix typos. 2021-02-11 19:14:15 -08:00
Mariano Cano
b487edbd13 Clarify comment. 2021-02-11 17:38:14 -08:00
Mariano Cano
ebaeae9008 Avoid closing pkcs#11 context twice. 2021-02-08 19:16:57 -08:00
Mariano Cano
f289d1ee1f Update to crypto11 v1.2.4
This version now includes my changes to delete a certificate.
2021-02-08 12:01:21 -08:00
Carl Tashian
c1a2697806
Merge pull request #458 from smallstep/systemd
Add systemd files
2021-02-08 10:41:15 -08:00
Mariano Cano
f425a81d36 Enforce the use of id and label when generating objects. 2021-02-04 12:53:08 -08:00
Mariano Cano
dd6a43ad13 Add fake implementation of pkcs11 key manager without cgo.
This allows other binaries to import pkcs11 directly even if they
are compiled without cgo.
2021-02-04 12:32:30 -08:00
Mariano Cano
4fbf7569fa Merge branch 'master' into pkcs11 2021-02-01 18:13:16 -08:00
Mariano Cano
1d47a7284d Upgrade nosql with a version of badger compatible with 32bits 2021-02-01 18:09:28 -08:00
Mariano Cano
fbd2208044 Close key manager for safe reloads when a cgo module is used. 2021-02-01 17:14:44 -08:00
Mariano Cano
97c8cd10cd Test with CGO enabled 2021-02-01 17:04:07 -08:00
Mariano Cano
1d2146166b Close key manager. 2021-02-01 15:28:09 -08:00
Mariano Cano
3fdab93ab8 Add missing file. 2021-02-01 15:27:53 -08:00
Mariano Cano
a8260a3289 Add missing test. 2021-02-01 14:25:49 -08:00
Mariano Cano
41eff69fb3 Fix linting errors. 2021-02-01 14:22:53 -08:00
Mariano Cano
128d07f148 Use new GetEncoded method. 2021-02-01 14:17:39 -08:00
Mariano Cano
b28db61d5d Add missing close causing panic with softhsm2. 2021-02-01 14:16:55 -08:00
Mariano Cano
a74fc7a0b2 Remove unnecessary methods and add missing tests. 2021-02-01 14:16:08 -08:00