451 Commits

Author SHA1 Message Date
Becca Petrin
39455f38a8
Avoid potential panic in LDAP client (#8047)
* fix potential panic

* add comment

* vendor the ldap update

* use localhost in test
2019-12-17 16:33:59 -08:00
Joel Thompson
d725f97b30 Bump aws-sdk-go to v1.25.41 (#7458)
This is in support of #7450 and #7924
2019-12-16 16:43:00 -08:00
Becca Petrin
73fd8f314f
Add Kerberos SPNEGO auth plugin (#7908) 2019-12-11 11:18:37 -08:00
ncabatoff
dd3dcd7069
Handle otherName SANs in CSRs (#6163)
If a CSR contains a SAN of type otherName, encoded in UTF-8, and the signing role specifies use_csr_sans, the otherName SAN will be included in the signed cert's SAN extension.

Allow single star in allowed_other_sans to match any OtherName.  Update documentation to clarify globbing behaviour.
2019-12-11 10:16:44 -05:00
Calvin Leung Huang
6191cfaf91
sdk/ldaputil: add request_timeout configuration option (#7909)
* sdk/ldaputil: add request_timeout configuration option

* go mod vendor
2019-11-20 11:26:13 -08:00
Jim Kalafut
279596ac80 Update GCP secrets plugin (#7869) 2019-11-12 11:59:26 -08:00
Clint
ec62abb951 Update how Vault Agent configures Consul Templates internal logger (#7822)
* fix up logger in Vault Agent Template

* update deps
2019-11-12 11:29:29 -08:00
Brian Kassouf
b6b93d1c60 Update SDK 2019-11-11 19:41:52 -08:00
Brian Kassouf
06b506f886 Update plugins 2019-11-11 19:28:09 -08:00
Jeff Mitchell
583be49d5e Update API/vendoring 2019-11-08 11:40:12 -05:00
Jeff Mitchell
3ba640c34b go-ldap update; bump dep, api, secrets-ad plugin, and vendor 2019-11-08 11:24:46 -05:00
Sam Salisbury
8dcf3123ef
ci: switch to go1.12.12 on machine executors (#7703)
* ci: switch to go1.12.12 on machine executors

- This brings in recent ci changes from the release/1.2.x branch.

* go mod vendor

* ci: remove ent build tags

* ci: fix gopath

* go mod vendor

* ci: ensure yarn install

* ci: add debug commands

* ci: debugging

* ci: increment yarn cache; remove debugging

* ci: remove redundant yarn install
2019-11-06 13:15:06 +00:00
Calvin Leung Huang
14aac1123b
hostutil: query stats with context, update gopsutil, refactor tests (#7769)
* hostutil: query stats with context, update gopsutil, refactor tests

* go mod vendor

* minor comment wording
2019-11-01 10:12:22 -07:00
Brian Kassouf
14c7398841 go mod vendor 2019-10-28 22:27:00 -07:00
Jeff Mitchell
28c38352fc Vendor 2019-10-28 11:34:28 -04:00
Sam Salisbury
9d5334f172
run go mod vendor (#7736) 2019-10-25 13:35:22 +01:00
Jeff Mitchell
84a9892e8c Fix kv mod import and vendoring 2019-10-18 08:57:32 -04:00
Lexman
9bd3a27a36
updates vendored api/client.go (#7692) 2019-10-17 14:10:55 -07:00
Lexman
47a54ac8bc
oss changes for entropy augmentation feature (#7670)
* oss changes for entropy augmentation feature

* fix oss command/server/config tests

* update go.sum

* fix logical_system and http/ tests

* adds vendored files

* removes unused variable
2019-10-17 10:33:00 -07:00
Calvin Leung Huang
0b3777f2aa
Vault Debug (#7375)
* cli: initial work on debug; server-status target

* debug: add metrics capture target (#7376)

* check against DR secondary

* debug: add compression

* refactor check into preflight func

* debug: set short test time on tests, fix exit code bug

* debug: use temp dir for output on tests

* debug: use mholt/archiver for compression

* first pass on adding pprof

* use logger for output

* refactor polling target capture logic

* debug: poll and collect replication status

* debug: poll and collect host-info; rename output files and collection refactor

* fix comments

* add archive test; fix bugs found

* rename flag name to singular target

* add target output test; scaffold other tests cases

* debug/test: add pprof and index file tests

* debug/test: add min timing check tests

* debug: fix index gen race and collection goroutine race

* debug: extend archive tests, handle race between program exit and polling goroutines

* update docstring

* debug: correctly add to pollingWg

* debug: add config target support

* debug: don't wait on interrupt shutdown; add file exists unit tests

* move pprof bits into its goroutine

* debug: skip empty metrics and some pprof file creation if permission denied, add matching unit test

* address comments and feedback

* Vault debug using run.Group (#7658)

* debug: switch to use oklog/run.Group

* debug: use context to cancel requests and interrupt rungroups.

* debug: trigger the first interval properly

* debug: metrics collection should use metrics interval

* debug: add missing continue on metrics error

* debug: remove the use of buffered chan to trigger first interval

* debug: don't shadow BaseCommand's client, properly block on interval capture failures

* debug: actually use c.cachedClient everywhere

* go mod vendor

* debug: run all pprof in goroutines; bump pprof timings in tests to reduce flakiness

* debug: update help text
2019-10-15 15:39:19 -07:00
Becca Petrin
d0642d4bd7
update ad secrets plugin for check-out feature (#7617) 2019-10-14 11:17:05 -07:00
Brian Kassouf
457df2364b
Improve raft write performance by utilizing FSM Batching (#7527)
* Start benchmark work

* Add batching FSM function

* dedupe some code

* Update dependency on chunking FSM

* fix raft external tests

* fix go.mod

* Add batching test

* uncomment test

* update raft deps

* update vendor

* Update physical/raft/fsm.go

Co-Authored-By: Michel Vocks <michelvocks@gmail.com>

* Update physical/raft/fsm.go
2019-10-14 09:25:07 -06:00
Mike Jarmy
c484416c88 go mod tidy and vendor 2019-10-14 09:28:18 -04:00
Brian Kassouf
3ce40c12bb
Port over cache refresh changes (#7599) 2019-10-08 13:23:43 -07:00
Nick Cabatoff
a5be341436 go mod vendor and go mod tidy 2019-10-04 09:14:37 -04:00
Jeff Mitchell
1aa86aa3fb Bump api/sdk and vendoring 2019-09-19 09:43:23 -04:00
Jeff Mitchell
c9613203f5 Update api/sdk. Let kr/pty stay for now so it stops going in on every build 2019-09-18 09:12:57 -04:00
Jeff Mitchell
d61d5b1166 Bump sdk and vendoring 2019-09-17 11:38:03 -04:00
Jim Kalafut
94138e8df0
Update JWT auth dep (#7427) 2019-09-05 10:24:08 -07:00
Jim Kalafut
96b3af9f00
Bundle OCI Auth method (#7422) 2019-09-04 16:46:00 -07:00
Vu Pham
df173e70fc Added OCI Object Storage Plugin (#6985) 2019-09-04 11:33:16 -07:00
Jeff Mitchell
d073bdacf7 Update API and revendor 2019-09-04 12:46:30 -04:00
Aaron Bennett
6c54c27ac0 update dependencies (#7390) 2019-09-03 16:08:50 -04:00
Jeff Malnick
6d4d16bdea
feat: bump vault-plugin-auth-kubernetes to pick up support for projected tokens feature (#7386) 2019-08-30 11:53:06 -07:00
Jeff Mitchell
9949f3e606 Update api 2019-08-26 15:49:51 -04:00
Becca Petrin
392e41ca42
rename pcf to cf maintaining backwards compat (#7346) 2019-08-26 09:55:08 -07:00
Jeff Mitchell
fec919d1f4 Update vendor folder 2019-08-22 11:07:25 -04:00
Jeff Mitchell
2963f5066c Updating plugin deps 2019-08-14 17:23:29 -04:00
Jim Kalafut
56189577cf Update PCF Auth plugin (#7306) 2019-08-14 09:43:04 -04:00
Jeff Mitchell
e0cb9df924 Bump sdk/api 2019-08-05 18:03:40 -04:00
Jeff Mitchell
bed75b1d94 Updating plugin deps 2019-07-30 00:26:33 -04:00
Jeff Mitchell
c0bbaab9d6 Update api/sdk 2019-07-30 00:24:27 -04:00
Jeff Mitchell
3b693f291b Pull in updated secrets-ad plugin 2019-07-29 18:10:13 -04:00
Brian Kassouf
8a2a3442f0
Add additional raft chunk test (#7192)
* Add an end-to-end raft chunk test

* Apply suggestions from code review

Co-Authored-By: Jim Kalafut <jkalafut@hashicorp.com>
2019-07-29 14:11:46 -07:00
Jeff Mitchell
d214baf4d5 Updating plugin deps 2019-07-25 13:01:47 -04:00
Jeff Mitchell
a20a8dd6f4 Bump api/sdk 2019-07-25 12:59:29 -04:00
Jeff Mitchell
3551835d6c Updating plugin deps 2019-07-25 12:38:07 -04:00
Jeff Mitchell
a3f62c5b3a Pull in tagged api/sdk 2019-07-25 12:17:13 -04:00
Jeff Mitchell
2fc0969be9
Raft chunk snapshotting (#7185)
Support chunking, including snapshot handling
2019-07-24 20:44:13 -04:00
Jeff Mitchell
ba5fe5d4f8 Vendor deps 2019-07-24 13:42:50 -04:00