mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
Update tests to reflect new HC public pgp keys. (#11446)
This commit is contained in:
@@ -231,7 +231,7 @@ func TestOperatorGenerateRootCommand_Run(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
pgpKey := "keybase:hashicorp"
|
||||
pgpFingerprint := "91a6e7f85d05c65630bef18951852d87348ffc4c"
|
||||
pgpFingerprint := "c874011f0ab405110d02105534365d9472d7468f"
|
||||
|
||||
client, closer := testVaultServer(t)
|
||||
defer closer()
|
||||
|
||||
@@ -218,7 +218,7 @@ func TestOperatorRekeyCommand_Run(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
pgpKey := "keybase:hashicorp"
|
||||
pgpFingerprints := []string{"91a6e7f85d05c65630bef18951852d87348ffc4c"}
|
||||
pgpFingerprints := []string{"c874011f0ab405110d02105534365d9472d7468f"}
|
||||
|
||||
client, closer := testVaultServer(t)
|
||||
defer closer()
|
||||
@@ -396,7 +396,7 @@ func TestOperatorRekeyCommand_Run(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
pgpKey := "keybase:hashicorp"
|
||||
// pgpFingerprints := []string{"91a6e7f85d05c65630bef18951852d87348ffc4c"}
|
||||
// pgpFingerprints := []string{"c874011f0ab405110d02105534365d9472d7468f"}
|
||||
|
||||
client, keys, closer := testVaultServerUnseal(t)
|
||||
defer closer()
|
||||
|
||||
@@ -149,7 +149,7 @@ func TestPubKeyFilesFlagSetKeybase(t *testing.T) {
|
||||
exp := []string{
|
||||
"0f801f518ec853daff611e836528efcac6caa3db",
|
||||
"cf3d4694c9f57b28cb4092c2eb832c67eb5e8957",
|
||||
"91a6e7f85d05c65630bef18951852d87348ffc4c",
|
||||
"c874011f0ab405110d02105534365d9472d7468f",
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(fingerprints, exp) {
|
||||
|
||||
@@ -33,7 +33,7 @@ func TestFetchKeybasePubkeys(t *testing.T) {
|
||||
|
||||
exp := []string{
|
||||
"0f801f518ec853daff611e836528efcac6caa3db",
|
||||
"91a6e7f85d05c65630bef18951852d87348ffc4c",
|
||||
"c874011f0ab405110d02105534365d9472d7468f",
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(fingerprints, exp) {
|
||||
|
||||
Reference in New Issue
Block a user