adobe / cryptr

Cryptr: a GUI for Hashicorp's Vault

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Secrets with "\" char could not be opened

vicioussn opened this issue · comments

The problem

If you create secret with "" char in the path, Cryptr cannot view that secret (although it's discoverable).

Environment

  • Cryptr version (or git revision) that exhibits the issue: 0.3.0
  • Desktop OS/version used to run Cryptr: Windows 10
  • Vault version: 1.2.3

Details

Obviously, "" is getting replaced to "/", just as "space" is replaced with underscore.

Hey, I'm not positive I understand as you reference different chars. Are you talking about an empty string being replaced with a forward slash? Or a backslash being replaced with a forward slash?

Vault does not accept backslashes in the names of secrets.

Hi!

GitHub removing backslash from my message. So, backslash is getting replaces with forward slash.

Vault does accept backslash in secret names. Take a look:
image

GitHub removing backslash from my message.

You could use backticks (`code`) to enclose your backslash, gets rendered as \.

The secret in your screenshot gets displayed as something/domain\username but it should be something/domain/\username, is that correct?