vault: reload master key before keyring
This commit is contained in:
parent
f6729b29f8
commit
daffef08db
|
@ -1185,6 +1185,9 @@ func (c *Core) postUnseal() error {
|
|||
if err := c.checkKeyUpgrades(); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := c.barrier.ReloadMasterKey(); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := c.barrier.ReloadKeyring(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue