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

Use down-level libsecret functions to get secret values #244

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

mjcheetham
Copy link
Collaborator

Replace our use of secret_value_unref_to_password which was only introduced in libsecret 0.19.0, with secret_value_get and a separate secret_value_unref call which is available in all versions.

This will allow us to work on older distributions that may only include older versions of libsecret, specifically Ubuntu 18.04 LTS which includes libsecret 0.18. Version 0.20 of libsecret was only introduced from Ubuntu 19.04.

Fixes #213

Replace our use of `secret_value_unref_to_password` which was only
introduced in libsecret 0.19.0, with `secret_value_get` and a separate
`secret_value_unref` call which is available in all versions.

This will allow us to work on older distributions that may only include
older versions of libsecret, specifically Ubuntu 18.04 LTS which
includes libsecret 0.18. Version 0.20 of libsecret was only introduced
from Ubuntu 19.04.
@mjcheetham mjcheetham merged commit 3c38f94 into git-ecosystem:master Dec 3, 2020
@mjcheetham mjcheetham deleted the libsecretfix branch December 3, 2020 16:03
@mjcheetham mjcheetham mentioned this pull request Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure to retrieve secrets from storage on Ubuntu 18.04 LTS
2 participants