open-vault/helper
Hamid Ghaf 65a41d4f08
named Login MFA methods (#18610)
* named MFA method configurations

* fix a test

* CL

* fix an issue with same config name different ID and add a test

* feedback

* feedback on test

* consistent use of passcode for all MFA methods (#18611)

* make use of passcode factor consistent for all MFA types

* improved type for MFA factors

* add method name to login CLI

* minor refactoring

* only accept MFA method name with its namespace path in the login request MFA header

* fix a bug

* fixing an ErrorOrNil return value

* more informative error message

* Apply suggestions from code review

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

* feedback

* test refactor a bit

* adding godoc for a test

* feedback

* remove sanitize method name

* guard a possbile nil ref

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-01-23 15:51:22 -05:00
..
benchhelpers Update deps for consul-template 0.29.0 (#15293) 2022-05-05 10:30:40 -07:00
builtinplugins Mark deprecated builtins Removed (#18039) 2023-01-09 09:16:35 -05:00
constants update gofumpt to 0.3.1 and reformat the repo (#17055) 2022-09-07 17:31:20 -07:00
dhutil Remove spurious fmt.Printf calls including one of a key (#15344) 2022-05-19 12:27:02 -07:00
experiments Event system alpha experiment (#18795) 2023-01-23 19:26:49 +00:00
fairshare VAULT-4240 time.After() in a select statement can lead to memory leak (#14814) 2022-04-01 10:17:11 -04:00
flag-kv Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
flag-slice command/server: add config loading 2015-03-12 15:21:11 -07:00
forwarding Link OSS (#18228) 2022-12-08 15:02:18 -05:00
hostutil Update gopsutil to v3 to fix MacOS deprecation warnings (#16321) 2022-07-20 16:37:10 -07:00
identity Link OSS (#18228) 2022-12-08 15:02:18 -05:00
locking add core state lock deadlock detection config option v2 (#18604) 2023-01-11 13:32:05 -06:00
logging VAULT-12264: Fix log rotation params which require an integer (#18666) 2023-01-11 20:04:57 +00:00
metricsutil Use %q for quoted strings where appropriate (#15216) 2022-08-03 12:32:45 -06:00
monitor api/monitor: Adding log format to monitor command and debug (#15536) 2022-05-24 13:10:53 -04:00
namespace VAULT-7256: Add custom_metadata to namespaces (#16640) 2022-08-09 11:38:03 -04:00
osutil Fix nightly tests and debug (#14970) 2022-04-12 06:08:28 +05:30
parseip Move to go 1.17 (#12868) 2021-10-21 09:32:03 -04:00
pgpkeys fix: PGP subkeys support (#16224) 2022-09-22 09:12:41 -04:00
policies Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
proxyutil remove mount accessor from MFA config (#14406) 2022-03-09 09:14:30 -08:00
random Only use additional entropy source when configured within transit and sys random (#15734) 2022-06-01 14:56:39 -04:00
storagepacker Link OSS (#18228) 2022-12-08 15:02:18 -05:00
testhelpers named Login MFA methods (#18610) 2023-01-23 15:51:22 -05:00
timeutil Fix Racy Activity Log Tests (#10484) 2020-12-02 13:48:13 -07:00
useragent Move version out of SDK. (#14229) 2022-12-07 13:29:51 -05:00
versions Move version out of SDK. (#14229) 2022-12-07 13:29:51 -05:00