defguard icon indicating copy to clipboard operation
defguard copied to clipboard

Creating empty GPG keys

Open jakub-tldr opened this issue 5 months ago • 0 comments
trafficstars

Describe the bug Creating empty GPG keys is possible.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'My Profile'
  2. Click on 'Add new Key'
  3. Select Key Type as GPG
  4. Name: 'example' . Leave "Key" field empty.
  5. Press "Add GPG Key"

Expected behavior Empty keys shouldn't be allowed

Version information

  • Defguard Core version: 1.4.0-246675e
  • Operating system and version running the gateway: macOS Sequoia 15.5
  • Your browser and version: Firefox 139.0.1 (aarch64)

Screenshots Image

Image

Additional context Setting titles as spaces also works. You can create GPG key with no key or title. (or SSH key without title)

Image

jakub-tldr avatar Jun 05 '25 12:06 jakub-tldr