Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web UI PGP Init Bug #12056

Closed
joeyberkovitz opened this issue Jul 13, 2021 · 2 comments
Closed

Web UI PGP Init Bug #12056

joeyberkovitz opened this issue Jul 13, 2021 · 2 comments
Labels
bug Used to indicate a potential bug ui

Comments

@joeyberkovitz
Copy link

Describe the bug
When attempting to initialize Vault using PGP encryption for unseal keys, only PGP KEY 1 is displayed if Encrypt output with PGP menu is opened before entering number of key shares.

To Reproduce
Steps to reproduce the behavior:

  1. Start new Vault server
  2. Open Vault web interface in browser
  3. Expand Encrypt output with PGP menu
  4. Enter number of Key shares using value greater than 1
  5. Confirm that only one PGP key input is listed in the Encrypt output with PGP menu

Expected behavior
The number of PGP key inputs should always match the specified number of key shares.

Environment:

  • Vault Server Version (retrieve with vault status): 1.7.3
  • Vault CLI Version (retrieve with vault version): Vault v1.7.3 (5d517c8)
  • Server Operating System/Architecture: CentOS 7.9.2009
  • Browser: Chrome 91.0.4472.124

Vault server configuration file(s):
Same as provided by Vault RHEL repo

ui = true

storage "file" {
  path = "/opt/vault/data"
}

# HTTPS listener
listener "tcp" {
  address       = "0.0.0.0:8200"
  tls_cert_file = "/opt/vault/tls/tls.crt"
  tls_key_file  = "/opt/vault/tls/tls.key"
}
@ncabatoff ncabatoff added bug Used to indicate a potential bug ui labels Jul 13, 2021
@hashishaw
Copy link
Contributor

Thank you for reporting this bug @joeyberkovitz! We'll work on a fix right away. In the meantime if you toggle the "Encrypt output with PGP" link, it will refresh the number of inputs shown.

pgp-ui-workaround

@hashishaw
Copy link
Contributor

This issue has been fixed! Please feel free to re-open this issue if you see it crop up again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to indicate a potential bug ui
Projects
None yet
Development

No branches or pull requests

3 participants