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

Make a proper GUI for adding Reference to standard fields #433

Open
flyinbutrs opened this issue Mar 24, 2017 · 16 comments
Open

Make a proper GUI for adding Reference to standard fields #433

flyinbutrs opened this issue Mar 24, 2017 · 16 comments

Comments

@flyinbutrs
Copy link

flyinbutrs commented Mar 24, 2017

I'm not sure if this is already supported or if this is a feature request, but is there a way to create / utilize references like described here for Windows keepass2?

@TheZ3ro
Copy link
Contributor

TheZ3ro commented Mar 24, 2017

Currently there isn't a nice GUI for inserting references beside when duplicating/cloning an entry. (Like https://superuser.com/a/434046) But if you manually insert the reference code and KeePassXC will interpret the reference correctly

@flyinbutrs
Copy link
Author

Could you elaborate on how to do that exactly? What would I put as the password in entry A to reference the password for entry B?

@TheZ3ro
Copy link
Contributor

TheZ3ro commented Mar 24, 2017

@flyinbutrs Yes, the complete reference format is described on KeePass website.

Currently you will need to build KeePassXC form source from the develop branch and the only way to link references is by using entry UUID.

So if you want to do this right now you have to:

  • Go in the entry you want to reference and from the Property section copy the UUID
  • Create a new entry
  • Set the attribute you want to reference to {REF:<WantedField>@I:<UUID>} and pasting the UUID.

WantedField can only be a standard field:

T	Title
U	User name
P	Password
A	URL
N	Notes

Later I will add this to the wiki maybe

@TheZ3ro TheZ3ro changed the title Feature ReQuestion: References / links support? Make a proper GUI for adding Reference to standard fields Mar 24, 2017
@flyinbutrs
Copy link
Author

Not discounting user error, but I don't think this is working. I put this into a password field (twice):

{REF:P@I:77d14b5fb035281bc4d2781e006cf386}

And have double checked that the UUID is correctly pointing to another entry, but when I go to the page, both keepasshttp, autotype, and command+c put that exact string into the password field / clipboard rather than the referenced password.

I'm using keepassxc 2.1.3 on OSX, if it matters.

@phoerious
Copy link
Member

phoerious commented Mar 25, 2017

2.1.3 doesn't support references yet. You need to compile the develop branch for that.
Relevant PR: #370

@flyinbutrs
Copy link
Author

Oops... reading comprehension failure. Is that coming in the next release? I'd prefer not to compile from source if it's only going to be a few weeks.

@phoerious
Copy link
Member

We don't have a release date yet and some major features are yet to be completed.

@Felixoid
Copy link

Hi, any progress here?

What about to add submenu Copy reference to clipboard here?
screen_2018-04-12_13-47-27

@lagagain
Copy link

@Felixoid
I like the function in keepass2, and add to submenu is a good idea, but in my use cases, frequently, are that need add a account which use OAuth login(like login with google, facebook or github). Because that, I don't think the way(just add to submenu) is very sense to me.

@zioalex
Copy link

zioalex commented Sep 10, 2018

Hi Guys, any update here. This feature is very convinient and I miss it coming from KeePass.

@ftorto
Copy link

ftorto commented Oct 11, 2018

Isn't it a duplicate of #2030 ?

@Felixoid
Copy link

Looks like otherwise, @ftorto

@mcflypl
Copy link

mcflypl commented Oct 14, 2019

I use AD login on many pages and I miss this feature...

@stefan123t
Copy link

stefan123t commented Oct 1, 2021

@flyinbutrs I like your idea 👍 of having several (if not all) Field Reference Entries available to insert at the current cursor position / at the end of the Use custom Auto-Type sequence: Input field. while it could even be extended to have some {COMMAND} completion as suggested in #6782 and #6462 😇

Configuring Auto-Type Sequence in the dialog usually requires reading the documentation sections under
Configure Auto-Type Sequences and
Searching the Database

The dialog still has plenty of space under the [ ] use a specific sequence for this association input box to at least add those two documentation links and place some insert buttons for the feature requested here:
grafik

The most frequently used / known ones are IMHO as they are also supported in KeePass, KeePassX and KeePassXC:

Field Reference / Placeholders Description
{USERNAME}{TAB}{PASSWORD}{ENTER} Default (Username & Password)
{USERNAME} Username
{TAB} Tab
{PASSWORD} Password
{ENTER} Enter
{TOTP} Current TOTP
{DELAY 2500} Delay of 2500 ms
{CLEARFIELD} Clear the current Input field
{S:<ATTR_NAME>} Additional Attribute ATTR_NAME
{REF:U@I:<UUID>} Username of another Entry UUID
{REF:P@I:<UUID>} Password of another Entry UUID
{REF:<FIELD>@<SEARCH_IN>:<SEARCH_TEXT>} FIELD from another Entry with Field SEARCH_IN matching SEARCH_TEXT
  • ATTR_NAME should be a pull-down offering all the configured Additional Attributes of the Entry, regardless whether Protected or not.

  • FIELD and SEARCH_IN should be pull down boxes offering the following Options:

Fields Name
T Title
U User name
P Password
A URL
N Notes
I UUID
O Other custom strings (KeePass 2.x only)
  • UUID or SEARCH_TEXT should allow to using an ... Ellipsis Button to select / search one of the entries from the Database in a separate dialog and select its Name, UUID, etc. as value.
    There could be further hints to the Regex Options in the UUID / SEARCH_TEXT Field as documented under
Modifiers Description
- Exclude this term from results
! Exclude this term from results
+ Match this term exactly
* Term is handled as a regular expression
Wild Card Character Description
* Match anything
? Match one character
| Logical OR
Sample Search Query Description
user:johnsmith url:www.google.com Searches the Username field for johnsmith and the URL field for www.google.com.
user:john|smith Searches the Username field for john OR smith.
+user:johnsmith -url:www.google.com *notes:"secret note \d" Search the username field for exactly johnsmith, the URL must not contain www.google.com, and notes contains secret note [digit].

@yaoyingkeji
Copy link

Export file (xml、html、csv), reference location, not reference content, but code?
截图_选择区域_20231029190546

@yaoyingkeji
Copy link

Using "{REF:T@I:c634a207451b4643ac8daf8ef44f40cb}" in Additional attributes has no effect.
图片

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Entry Layout
Development

No branches or pull requests