-
Notifications
You must be signed in to change notification settings - Fork 141
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
dashes in secret service backend break roundtrip (fix #82) #83
Conversation
34f7c95
to
997bc31
Compare
@@ -56,6 +59,28 @@ func (e *secretsError) Error() string { | |||
|
|||
var errCollectionNotFound = errors.New("The collection does not exist. Please add a key first") | |||
|
|||
func decodeKeyringString(src string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a good function to have some unit tests for ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, i'll add unit test
|
remove debug code tidy up remove un-necessary condition add unit test
add unit test |
Is #90 doing something similar? |
Yes, it is |
@tomtau which approach is better? |
#90 may be simpler (it encodes the provided secret path once, while this PR attempts to decode every retrieved path in collections) |
fix reading in gnome keyring