99designs / keyring

Go library providing a uniform interface across a range of secure credential stores
MIT License
580 stars 138 forks source link

Bugfix: Implement escape logic. #90

Closed mgelde closed 3 years ago

mgelde commented 3 years ago

GNOME Keyring uses a specific escape logic for non alphanumeric characters in collection names. Due to this, collections with names containing such characters (e.g. whitespace, underscores) cannot be found using this library (string comparison fails).

This patch implements the GNOME Keyring escape logic and uses it when searching for the desired collection.

mtibben commented 3 years ago

@mgelde Could you please add some tests

mtibben commented 3 years ago

Is #83 doing something similar?

mtibben commented 3 years ago

Fixed in #83