简体   繁体   中英

Vala alternatives to Gnome Keyring OAuth access token storage?

are there good OAuth access token/secret storage alternatives to Gnome Keyring for Vala? The Gnome Keyring bindings solution is extremely buggy as it yields far too many C-errors to make debugging practical. Additionally, I know relatively little about security, so I'd rather not have to write any encryption algorithms myself--a well-documented, stable library that does it for me would be ideal.

libsecret is the replacement for gnome-keyring, which is being deprecated. It has Vala bindings distributed with it. There are examples in the documentation or you can look at the test case: http://git.gnome.org/browse/libsecret/tree/library/tests/test-vala-lang.vala

Also, gnome-keyring now distributes Vala bindings which are based on GObject Introspection, and should be much better than those distributed with valac.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM