Commit graph

2263 commits

Author SHA1 Message Date
Andrew Stuart c81e5c41d2
Update PrivateKeyType to string, update switch statement. 2015-12-14 11:16:47 -07:00
Andrew Stuart 48fdfd64c5 Merge branch 'master' of https://github.com/hashicorp/vault 2015-12-14 11:13:16 -07:00
Jeff Mitchell a9a8700f29 CL++ 2015-12-14 11:21:06 -05:00
Jeff Mitchell 07f1281403 Merge pull request #849 from mlafeldt/check-format
Show error if output format is invalid
2015-12-14 11:20:20 -05:00
Mathias Lafeldt b00b476c7a Show error if output format is invalid
Rather than silently using table as a fallback.
2015-12-14 17:14:22 +01:00
Andrew Stuart 100465fee8
Remove unnecessary cast 2015-12-14 06:17:20 -07:00
Jeff Mitchell de0ddf4912 Merge pull request #843 from hashicorp/footer-fix
fix bug in js for sticky footer by replacing with flexbox
2015-12-11 20:41:48 -05:00
captainill dfbe08fe8f fix bug in js for sticky footer by replacing with flexbox 2015-12-11 17:21:06 -08:00
Andrew Stuart 567282170f
Remove printf call from test 2015-12-11 15:47:00 -07:00
Andrew Stuart ae9e842841
Merge branch 'pkcs8' 2015-12-11 15:22:43 -07:00
Andrew Stuart 43bd14a755
Add benchmark for certutil bundle parsing 2015-12-11 15:17:49 -07:00
Andrew Stuart 551591fb70
Remove debugging print statement in compareCertBundleToParsedCertBundle 2015-12-11 15:17:49 -07:00
Andrew Stuart b277eb9f14
Remove flag check before trying pkcs8 parsing. 2015-12-11 15:17:49 -07:00
Andrew Stuart 6f672a9589
Add pkcs8 flag setting in ParsePEMBundle 2015-12-11 15:17:49 -07:00
Andrew Stuart 4da225d39e
Update tests and finish implementation of PKCS8 handling 2015-12-11 15:17:49 -07:00
Andrew Stuart 25667df5f7
Update ParsePEMBundle to properly handle pkcs#8
Implementation based on be16001187/src/crypto/tls/tls.go (L273-L290)
2015-12-11 15:17:49 -07:00
Andrew Stuart 2861be29a4
Move to pem.Block.Type-based decoding 2015-12-11 14:57:33 -07:00
Jeff Mitchell 988c6fd007 Bump cross-compile Dockerfile to 1.5.2 2015-12-11 16:36:48 -05:00
Jeff Mitchell 546b3add9c Changelogify 2015-12-11 12:05:22 -05:00
Jeff Mitchell e941f699d3 Merge pull request #832 from mlafeldt/yaml-ouput
Allow to output secrets in YAML format
2015-12-11 12:04:41 -05:00
Jeff Mitchell 0a568761ea Changelogify 2015-12-11 12:02:43 -05:00
Jeff Mitchell faa4a72a9b Merge pull request #839 from dallas/patch-1
Fix typo in Amazon KMS comparison
2015-12-11 12:01:43 -05:00
Andrew Stuart 9d97cc36c9
Add benchmark for certutil bundle parsing 2015-12-11 09:58:49 -07:00
Dallas Reedy 4f839cce9e Fix typo
futher => further
2015-12-11 08:50:06 -08:00
Andrew Stuart e70b0b86e2
Merge branch 'master' into pkcs8 2015-12-10 21:02:59 -07:00
Andrew Stuart 572f587093
Update flag to field with format info 2015-12-10 21:02:31 -07:00
Andrew Stuart 889245c990
Remove debugging print statement in compareCertBundleToParsedCertBundle 2015-12-10 16:33:42 -07:00
Jeff Mitchell 944862bb33 Update changelog and in-progress dev version number 2015-12-10 16:34:10 -05:00
Jeff Mitchell 06d1efa5f1 Merge pull request #830 from mlafeldt/sorted-secret-output
Output secrets sorted by key
2015-12-10 16:32:46 -05:00
Jeff Mitchell 62add3269c
Cut version 0.4.0 2015-12-10 13:24:22 -05:00
Jeff Mitchell e02acf9943 Fill in release date in Changelog 2015-12-10 13:21:44 -05:00
Andrew Stuart 56fc169c86 Merge branch 'master' of https://github.com/hashicorp/vault 2015-12-10 11:11:23 -07:00
Jeff Mitchell d14eea86df
Cut version 0.4.0 2015-12-10 12:50:46 -05:00
Jeff Mitchell 016e0dd0f3 Bump website version 2015-12-10 12:49:58 -05:00
Jeff Mitchell 5f1f95fc06 Add check for DOCKER_CROSS_IMAGE in dist script 2015-12-10 11:55:40 -05:00
Jeff Mitchell e25b3ad344 Update documentation to be consistent with return codes
Fixes #831
2015-12-10 10:26:40 -05:00
Mathias Lafeldt 7e47d5c548 Update Godeps to include YAML packages 2015-12-10 11:36:26 +01:00
Mathias Lafeldt 61d4ef70f4 Allow to output secrets in YAML format
This can be done with https://github.com/ghodss/yaml, which reuses
existing JSON struct tags for YAML.
2015-12-10 11:32:31 +01:00
Mathias Lafeldt 607d12174d Output secrets sorted by key
Instead of printing them in random order each time `vault read` is invoked.
2015-12-10 10:08:23 +01:00
Andrew Stuart cdeca4ed92
Remove flag check before trying pkcs8 parsing. 2015-12-09 19:41:32 -07:00
Andrew Stuart ef2be34985 Remove flag check before trying pkcs8 parsing. 2015-12-09 15:33:25 -07:00
Andrew Stuart a3b096e3fe Add pkcs8 flag setting in ParsePEMBundle 2015-12-09 15:33:25 -07:00
Andrew Stuart 7d274cbb0b Update tests and finish implementation of PKCS8 handling 2015-12-09 15:33:25 -07:00
Andrew Stuart db48b7fccf Update ParsePEMBundle to properly handle pkcs#8
Implementation based on be16001187/src/crypto/tls/tls.go (L273-L290)
2015-12-09 15:29:13 -07:00
Jeff Mitchell 9d574dd5d5 Merge pull request #666 from hashicorp/pki-csrs
Enhance functionality to the PKI backend
2015-12-09 17:13:51 -05:00
Jeff Mitchell 28efb119ae Make the timeout for 'make test' 60s to accommodate larger numbers of generated keys in tests 2015-12-09 17:07:29 -05:00
Jeff Mitchell d332200495 Merge branch 'master' into pki-csrs 2015-12-09 16:48:07 -05:00
Jeff Mitchell 934b6076db Merge pull request #826 from hashicorp/issue-825
Return 400 instead of 500 if generic backend is written to without data.
2015-12-09 10:40:06 -05:00
Jeff Mitchell 900b3d8882 Return 400 instead of 500 if generic backend is written to without data.
Fixes #825
2015-12-09 10:39:22 -05:00
Jeff Mitchell 8699adbbb0 Merge pull request #822 from hashicorp/sethvargo-patch-1
Use template instead of filename (fix deprecation)
2015-12-08 13:28:24 -05:00