This project is mirrored from https://gitee.com/NQL886/vault.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 20 Jun, 2019 1 commit
    • Brian Kassouf's avatar
      Raft Storage Backend (#6888) · b435028f
      Brian Kassouf authored
      
      * Work on raft backend
      
      * Add logstore locally
      
      * Add encryptor and unsealable interfaces
      
      * Add clustering support to raft
      
      * Remove client and handler
      
      * Bootstrap raft on init
      
      * Cleanup raft logic a bit
      
      * More raft work
      
      * Work on TLS config
      
      * More work on bootstrapping
      
      * Fix build
      
      * More work on bootstrapping
      
      * More bootstrapping work
      
      * fix build
      
      * Remove consul dep
      
      * Fix build
      
      * merged oss/master into raft-storage
      
      * Work on bootstrapping
      
      * Get bootstrapping to work
      
      * Clean up FMS and node-id
      
      * Update local node ID logic
      
      * Cleanup node-id change
      
      * Work on snapshotting
      
      * Raft: Add remove peer API (#906)
      
      * Add remove peer API
      
      * Add some comments
      
      * Fix existing snapshotting (#909)
      
      * Raft get peers API (#912)
      
      * Read raft configuration
      
      * address review feedback
      
      * Use the Leadership Transfer API to step-down the active node (#918)
      
      * Raft join and unseal using Shamir keys (#917)
      
      * Raft join using shamir
      
      * Store AEAD instead of master key
      
      * Split the raft join process to answer the challenge after a successful unseal
      
      * get the follower to standby state
      
      * Make unseal work
      
      * minor changes
      
      * Some input checks
      
      * reuse the shamir seal access instead of new default seal access
      
      * refactor joinRaftSendAnswer function
      
      * Synchronously send answer in auto-unseal case
      
      * Address review feedback
      
      * Raft snapshots (#910)
      
      * Fix existing snapshotting
      
      * implement the noop snapshotting
      
      * Add comments and switch log libraries
      
      * add some snapshot tests
      
      * add snapshot test file
      
      * add TODO
      
      * More work on raft snapshotting
      
      * progress on the ConfigStore strategy
      
      * Don't use two buckets
      
      * Update the snapshot store logic to hide the file logic
      
      * Add more backend tests
      
      * Cleanup code a bit
      
      * [WIP] Raft recovery (#938)
      
      * Add recovery functionality
      
      * remove fmt.Printfs
      
      * Fix a few fsm bugs
      
      * Add max size value for raft backend (#942)
      
      * Add max size value for raft backend
      
      * Include physical.ErrValueTooLarge in the message
      
      * Raft snapshot Take/Restore API  (#926)
      
      * Inital work on raft snapshot APIs
      
      * Always redirect snapshot install/download requests
      
      * More work on the snapshot APIs
      
      * Cleanup code a bit
      
      * On restore handle special cases
      
      * Use the seal to encrypt the sha sum file
      
      * Add sealer mechanism and fix some bugs
      
      * Call restore while state lock is held
      
      * Send restore cb trigger through raft log
      
      * Make error messages nicer
      
      * Add test helpers
      
      * Add snapshot test
      
      * Add shamir unseal test
      
      * Add more raft snapshot API tests
      
      * Fix locking
      
      * Change working to initalize
      
      * Add underlying raw object to test cluster core
      
      * Move leaderUUID to core
      
      * Add raft TLS rotation logic (#950)
      
      * Add TLS rotation logic
      
      * Cleanup logic a bit
      
      * Add/Remove from follower state on add/remove peer
      
      * add comments
      
      * Update more comments
      
      * Update request_forwarding_service.proto
      
      * Make sure we populate all nodes in the followerstate obj
      
      * Update times
      
      * Apply review feedback
      
      * Add more raft config setting (#947)
      
      * Add performance config setting
      
      * Add more config options and fix tests
      
      * Test Raft Recovery (#944)
      
      * Test raft recovery
      
      * Leave out a node during recovery
      
      * remove unused struct
      
      * Update physical/raft/snapshot_test.go
      
      * Update physical/raft/snapshot_test.go
      
      * fix vendoring
      
      * Switch to new raft interface
      
      * Remove unused files
      
      * Switch a gogo -> proto instance
      
      * Remove unneeded vault dep in go.sum
      
      * Update helper/testhelpers/testhelpers.go
      Co-Authored-By: default avatarCalvin Leung Huang <cleung2010@gmail.com>
      
      * Update vault/cluster/cluster.go
      
      * track active key within the keyring itself (#6915)
      
      * track active key within the keyring itself
      
      * lookup and store using the active key ID
      
      * update docstring
      
      * minor refactor
      
      * Small text fixes (#6912)
      
      * Update physical/raft/raft.go
      Co-Authored-By: default avatarCalvin Leung Huang <cleung2010@gmail.com>
      
      * review feedback
      
      * Move raft logical system into separate file
      
      * Update help text a bit
      
      * Enforce cluster addr is set and use it for raft bootstrapping
      
      * Fix tests
      
      * fix http test panic
      
      * Pull in latest raft-snapshot library
      
      * Add comment
      b435028f
  2. 11 Jun, 2019 1 commit
    • Sam Salisbury's avatar
      ci: break config into separate files (#6849) · 380f460e
      Sam Salisbury authored
      * ci: break config into separate files
      
      * Untangle githooks
      
      * githooks: fix whitespace
      
      * .hooks/pre-commit: add ui -> lint-staged check
      
      - We no longer require dependency on husky with this change.
      
      * ui: remove husky dependency and config
      
      - The previous commit obviates the need for it.
      - We will now have to manage these hooks by hand, but this removes
        the conflict between husky-installed hooks and those in the .hooks dir.
      
      * ui: update yarn.lock with husky removed
      
      * .hooks/pre-commit: always use subshell + docs
      
      - Always use subshell means we consistently exit from the
        same place which feels less complex.
      - Docs are necessary for horrible bash like this I think...
      
      * Makefile: remove old husky githooks
      
      - Husky has installed a handler for every single git hook.
      - This causes warnings on every git operation.
      - Eventually we can remove this, but better not to confuse
        people with these messages for now.
      
      * ci: fix go build tags
      
      * Makefile: improve compatibility of rm call
      
      - Looks like the xargs in Travis does something different to the one
        on my mac, this more verbose call should be safe everywhere.
      
      * ci: fix make target names
      
      * ci: fix test-ui invocation
      
      * Makefile: simplify husky hook cleanup
      
      * ci: more focussed readme
      380f460e
  3. 24 May, 2019 1 commit
    • Sam Salisbury's avatar
      ci: make ember-ci-test (browserstack) (#6751) · b6639a38
      Sam Salisbury authored
      
      * ci: make ember-ci-test (browserstack) VLTES-28
      
      * Update .circleci/config.yml
      Co-Authored-By: default avatarJosh Freda <jfreda@users.noreply.github.com>
      
      * Update .circleci/config.yml
      Co-Authored-By: default avatarJosh Freda <jfreda@users.noreply.github.com>
      
      * ci: rename test-ember -> test-ui-browserstack
      
      * Makefile: ember-ci-test -> test-ui-browserstack
      
      - Use the same name for this test everywhere to reduce cognitive load.
      
      * browserstack: exit non-zero on failure to connect
      
      * .travis.yml: ember-ci-test -> test-ui-browserstack
      
      * browserstack: add vault bin to the path
      
      * Makefile: browserstack: fail early w/clear msgs
      
      This might save someone time later. The same checks could be applied
      elsewhere too trivially.
      b6639a38
  4. 22 May, 2019 1 commit
  5. 03 May, 2019 1 commit
    • Noelle Daley's avatar
      Add Browserstack for IE11 testing (#6557) · e9b5056a
      Noelle Daley authored
      * add browserstack
      
      * check for data before removing root token
      
      * fix root prefix and select by attributes for ie11
      
      * use objectAt for ie11
      
      * use blobs instead of files for ie11
      
      * manually round cirucmference for ie11
      
      * skip csp test on ie11
      
      * skip tests in ie11
      
      * include polyfill for CI
      
      * remove on exit hooks
      
      * update which browserstack tests are run
      
      * remove ie check since we are not running these tests in ie
      
      * remove ie check since we are not running these tests in ie
      e9b5056a
  6. 15 Apr, 2019 1 commit
  7. 12 Apr, 2019 1 commit
  8. 03 Apr, 2019 1 commit
  9. 26 Mar, 2019 1 commit
  10. 25 Mar, 2019 2 commits
  11. 29 Jan, 2019 1 commit
  12. 18 Jan, 2019 1 commit
  13. 17 Jan, 2019 1 commit
    • Zac Medico's avatar
      Makefile: do not execute static-assets in parallel with deps (#6057) · 5af9df57
      Zac Medico authored
      The static-assets target has a dependency on *either* ember-dist or
      ember-dist-dev, so these targets must not execute in parallel. Since
      this is an either/or dependency, it cannot be expressed as a regular
      dependency unless the targets are refactored somehow.
      
      Fixes: 7a312d7c ("Add Makefile/Dockerfile UI bits")
      5af9df57
  14. 14 Nov, 2018 1 commit
    • Matthew Irish's avatar
      UI husky (#5752) · 2858fc13
      Matthew Irish authored
      * add husky and lint-staged as optional deps
      
      * make sure make-driven builds don't install husky, and update the ui/README
      2858fc13
  15. 31 Oct, 2018 1 commit
  16. 19 Oct, 2018 1 commit
    • Calvin Leung Huang's avatar
      [Review Only] Autoseal OSS port (#757) · 3d1f0d76
      Calvin Leung Huang authored
      * Port awskms autoseal
      
      * Rename files
      
      * WIP autoseal
      
      * Fix protobuf conflict
      
      * Expose some structs to properly allow encrypting stored keys
      
      * Update awskms with the latest changes
      
      * Add KeyGuard implementation to abstract encryption/decryption of keys
      
      * Fully decouple seal.Access implementations from sealwrap structs
      
      * Add extra line to proto files, comment update
      
      * Update seal_access_entry.go
      
      * govendor sync
      
      * Add endpoint info to configureAWSKMSSeal
      
      * Update comment
      
      * Refactor structs
      
      * Update make proto
      
      * Remove remove KeyGuard, move encrypt/decrypt to autoSeal
      
      * Add rest of seals, update VerifyRecoveryKeys, add deps
      
      * Fix some merge conflicts via govendor updates
      
      * Rename SealWrapEntry to EncryptedBlobInfo
      
      * Remove barrier type upgrade check in oss
      
      * Add key to EncryptedBlobInfo proto
      
      * Update barrierTypeUpgradeCheck signature
      3d1f0d76
  17. 20 Sep, 2018 1 commit
  18. 19 Sep, 2018 1 commit
  19. 18 Sep, 2018 2 commits
  20. 06 Sep, 2018 1 commit
  21. 01 Sep, 2018 3 commits
  22. 29 Aug, 2018 2 commits
  23. 16 Jul, 2018 1 commit
  24. 25 Jun, 2018 1 commit
    • Matthew Irish's avatar
      UI ensure trailing slash (#4828) · 2a3ee08d
      Matthew Irish authored
      * add make targets to build the ui without minifying the source
      * add polyfill for string.prototype.endswith and move to npm version of string.prototype.startswith
      * replace the current history state with a / on the list secrets endpoint
      * add test for list with id
      2a3ee08d
  25. 04 Jun, 2018 2 commits
    • Chris Hoffman's avatar
      adding option go_package to protos (#4687) · 3b1ade70
      Chris Hoffman authored
      * adding option go_package to protos
      
      * switching proto output dir to relative paths
      3b1ade70
    • Chris Hoffman's avatar
      Add entity information request to system view (#4681) · 51bc3d88
      Chris Hoffman authored
      * Add entity information request to system view
      
      * fixing a few comments
      
      * sharing types between plugin and logical
      
      * sharing types between plugin and logical
      
      * fixing output directory for proto
      
      * removing extra replacement
      
      * adding mount type lookup
      
      * empty entities return nil instead of error
      
      * adding some comments
      51bc3d88
  26. 30 May, 2018 3 commits
  27. 08 May, 2018 1 commit
  28. 20 Apr, 2018 1 commit
  29. 19 Apr, 2018 1 commit
  30. 10 Apr, 2018 1 commit
  31. 09 Apr, 2018 1 commit
  32. 04 Apr, 2018 1 commit