Skip to content

CLI Show does not output attributes named uuid or tags #11767

@mgrandi

Description

@mgrandi

Have you searched for an existing issue?

  • Yes, I tried searching and reviewed the pinned issues

Brief Summary

You are able to create an entry using KeepassXC that seems to conflict with internal built in 'attributes', but only some of them. For example, given all of the properties for a default item:

> keepassxc-cli.exe show --all --show-protected "testing.kdbx" "test2"
Enter password to unlock testing.kdbx:

Title: test2
UserName:
Password:
URL:
Notes:
Uuid: {1dd63753-06db-4c48-bea5-a6cd64a4dae7}
Tags:

I am not able to create an entry under Advanced > Additional attributes for Title, UserName, Password, URL and Notes, they all just revert back New Attribute

but i am able to create attributes for Uuid and Tags

Image

and when i view this in keepassxc-cli.exe, it seems to get confused and duplicates the entries with not the attributes I set

keepassxc-cli.exe show --all --show-protected "testing.kdbx" "testing123"
Enter password to unlock testing.kdbx:

Title: testing123
UserName:
Password:
URL:
Notes:
Uuid: {664b992c-4556-4e98-b132-ebcf37130212}
Tags: asdf
Tags: asdf
Uuid: {664b992c-4556-4e98-b132-ebcf37130212}

Steps to Reproduce

create an entry

double click, go to advanced

add an attribute called Uuid, type in anything
add an attribute called Tags, type in anything

run keepass-cli.exe and search for your entry you passed in, see duplicates, and not the data you inserted.

Expected Versus Actual Behavior

should either block the addition of additional attributes that are named that, OR if they are somehow present, maybe prefix them with a special name?

KeePassXC Debug Information

KeePassXC - Version 2.7.9
Revision: 8f6dd13

Qt 5.15.11
Debugging mode is disabled.

Operating system: Windows 11 Version 2009
CPU architecture: x86_64
Kernel: winnt 10.0.26120

Enabled extensions:
- Auto-Type
- Browser Integration
- Passkeys
- SSH Agent
- KeeShare
- YubiKey
- Quick Unlock

Cryptographic libraries:
- Botan 3.1.1

Operating System

Windows

Linux Desktop Environment

None

Linux Windowing System

None

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    In review

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions