简体   繁体   English

Gnome密钥环OAuth访问令牌存储的Vala替代品?

[英]Vala alternatives to Gnome Keyring OAuth access token storage?

are there good OAuth access token/secret storage alternatives to Gnome Keyring for Vala? Gnome Keyring for Vala是否有好的OAuth访问令牌/秘密存储替代品? The Gnome Keyring bindings solution is extremely buggy as it yields far too many C-errors to make debugging practical. Gnome Keyring绑定解决方案非常容易出错,因为它产生了太多的C错误,无法进行调试。 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. libsecret是gnome-keyring的替代品,已被弃用。 It has Vala bindings distributed with it. 它具有随其分发的Vala绑定。 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 文档中有示例,或者您可以查看测试用例: 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. 而且,gnome-keyring现在可以分发基于GObject Introspection的Vala绑定,并且应该比通过valac分发的绑定好得多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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