unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Guile and Libsecret?
       [not found] <974216238.702121.1576642909402.ref@mail.yahoo.com>
@ 2019-12-18  4:21 ` Jonathan Schmeling
  2019-12-25 18:29   ` David Pirotte
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Schmeling @ 2019-12-18  4:21 UTC (permalink / raw)
  To: guile-user@gnu.org

'Dunno if anyone would know but 'thought I'd ask (assuming this is the correct location to do so; definitely let me know if not) if anyone knew of any Guile integration with Gnome Keyring?

My understanding is that it would be done via Libsecret (hence the subject) though anyone correct me if I'm mistaken about anything here, in any way.

Ideally, I'm just looking to store a password in Gnome Keyring via Guile and, later, pulling out that password, once more, so I'm trying to see if, possibly, anything already exists out there for that.

Thanks for any help!

Jonathan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Guile and Libsecret?
  2019-12-18  4:21 ` Guile and Libsecret? Jonathan Schmeling
@ 2019-12-25 18:29   ` David Pirotte
  0 siblings, 0 replies; 2+ messages in thread
From: David Pirotte @ 2019-12-25 18:29 UTC (permalink / raw)
  To: Jonathan Schmeling; +Cc: guile-user@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1405 bytes --]

Hi Jonathan,

> My understanding is that it would be done via Libsecret (hence the
> subject) though anyone correct me if I'm mistaken about anything
> here, in any way.

> Ideally, I'm just looking to store a password in Gnome Keyring via
> Guile and, later, pulling out that password, once more, so I'm trying
> to see if, possibly, anything already exists out there for that.

'Technically', since there is a gir typelib for libsecret, you should be
able to use it either with guile-gi (1) or g-golf (2) - but be aware
that both projects are still being developed, so you'd need to be
ready to help (with snipset examples mostly) and be patient ... 

Using g-golf, you'd do (assuming you installed the gir1.2-secret-1,
so the Secret-1.typelib is available):

	,use (g-golf)
	(gi-import "Secret")

	then call the secret-* procedures ... 

Though I see it uses GHashTables, which I didn't bind yet,
something I can solve relatively quickly ... let me know if you wish to
try that route, what is the minimum set of g-hash-* functions that
would get you started ... I'll bind those 'in priority' ...

David

(1)	 https://spk121.github.io/guile-gi/

(2)	https://www.gnu.org/software/g-golf/index.html

	if you are interested, you should install from the source, and
	checkout the devel branch

	I am very regularly on irc, freenode, channel #guile, my
	nick is daviid

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-25 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <974216238.702121.1576642909402.ref@mail.yahoo.com>
2019-12-18  4:21 ` Guile and Libsecret? Jonathan Schmeling
2019-12-25 18:29   ` David Pirotte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).