A question and a feature request for Secret References

sj0123
sj0123
Community Member
edited July 10 in CLI

Hello.
I just tried 1password CLI for the first time and it was amazing, especially the feature to use secret references in place of plaintext secrets!
While I was using it, I got some questions and suggestions.
First, I wonder where is the copy secret reference button located in the 1password desktop app.
So far, I couldn't find that button anywhere after selecting and displaying item details desipite 1password CLI integration is turned on in the desktop app.
I am using 1password with my screen reader, so it might be my screen reader missing the button.
If I'm just missing that button, please tell me it's location in detail, or if the button is set in a way that it can't receive keyboard focus, please consider making the button visible to screen reader users in the future updates.
The next suggestion is request for a feature that allow non-alphanumeric characters to be accepted in secret references.
This is because 1password have customers all around the world, and allowing only alphanumeric characters in secret references limit non-english speakers from accessing some of their items threw CLI.
I also have items named in Korean and those items can't be accessed by secret reference.
There is an alternative method of using item UUIDs, but UUIDs are not made to be typed on a keyboard, memorized, or easily guessed.
That's all for now, thank you for being always kind to users!


1Password Version: 1Password for Windows 8.10.35 (81035003)
Extension Version: Not Provided
OS Version: Windows 10
Browser: Not Provided

Comments

  • Hi @sj0123, thanks for reaching out!

    It's great to hear that you're enjoying using 1Password CLI! I'm sorry that you're experiencing some trouble with copying the secret reference for items. If the "Integrate with 1Password CLI" option is enabled in the 1Password desktop app settings, then you should be given an option to copy the secret reference from an item using the steps in the following article:

    I'm not sure which screen reader you're using, but upon testing with Window's built-in screen reader, there seems to be a discrepancy in what the option is called. For example, when trying to copy the secret reference for a username field it provided me with "Copy username to clipboard", rather than "Copy Secret Reference". Are you experiencing the same behaviour with your screen reader when trying to copy the secret reference using the following steps:

    1. Open and unlock the 1Password desktop app.
    2. Navigate to an item's details region.
    3. Tab to the username field's "More actions" menu, which should be collapsed by default.
    4. Press the down arrow key to open the "More actions" menu options.
    5. Press the down arrow key until you've reached the "Copy Secret Reference" option, then press Enter to copy the reference.

    You also mentioned:

    The next suggestion is request for a feature that allow non-alphanumeric characters to be accepted in secret references.

    Thanks for sharing feedback regarding accessing Secret References. Having "Show debugging tools" enabled in the Advanced section of the 1Password desktop app's settings in order to copy and paste the UUID is a good workaround when the item has unsupported characters, but I can understand how having the option to use the item's title could help. I've shared this with the Product team so that they can take it into consideration.

    I look forward to hearing from you!

    -David

    ref: PB-40867070

  • sj0123
    sj0123
    Community Member

    Hello David, thank you for your reply and sharing my suggestion to the product team.
    For the copy secret reference issue, just like you said in the reply, it seems that the button is incorrectly labeled as copy itemname to clipboard where itemname is username, password, etc.
    I don't know if it is just an issue with accessible names, but this would make screen reader users believe that the copy secret reference feature is not implemented or not accessible.
    The copy secret reference feature works fine though, so it would be just a matter of slight renaming of labels.

  • @sj0123

    Thank you for confirming that you were experiencing the same behaviour when trying to copy Secret References. I can understand how this could lead to some confusion when using a screen reader, and it's important that 1Password is as accessible as possible. I've shared your experience with our development team so that they can look into any improvements with labelling, and I apologize for any inconvenience.

    I'm unable to provide an exact timeline for a fix, but once there is one, it will be listed in our release notes.

    Let me know if there's anything else I can help with!

    -David

    ref: dev/core/core#22702