IRC channel logs

2022-06-03.log

back to list of logs

<daviid>lechner: out of curiosity, i asked the GNOME team about 'the PAM module' and gnomekeyring, GI typelib ... here what they answered 'The PAM module is not a library, so it has nothing to be introspectable with - For accessing/storing secrets inside the keyring, you want libsecret, https://gitlab.gnome.org/GNOME/libsecret/'
<daviid>lechner: saying this because if libsecret is 'enough' for your context/use, you can access the lib from guile 'for free' using guile-gi or g-golf
<daviid>lechner: https://gnome.pages.gitlab.gnome.org/libsecret/
<daviid>the last link is the api doc
<lechner>daviid: i merely hope to replace PAM with a Guile implementation
<daviid>lechner: just to make sure - you meant to say you are manually binding, using the nyacc ffi-helper as a9n excellent) start, libpam, or in 'words', the public interface to Linux-PAM, right?
***wklew is now known as wklew`
***wklew` is now known as wklew
***wklew is now known as wklew`
***wklew` is now known as wklew
***wklew is now known as wklew`
***wklew` is now known as wklew
<lechner>daviid: Hi, not quite. I insert a new 'pam_guile' module to take over the stack-based processing of PAM services. Perhaps even more significantly, one can write new service modules in Guile. My questions to you revolve around calling existing legacy modules for compatibility. https://codeberg.org/lechner/guile-pam/src/branch/history/scm/pam/module/legacy.scm#L43-L56
<daviid>lechner: i was trying to see if another (GI based) route was possible ... but it doesn't sound like it is possible ... wrt to our question, as i posted earçier, you need to change line 53 to instead call your incantation of a proper argv** building proc ...
<lechner>daviid: yeah, thanks! i'm trying to figure out what that should look like.
<daviid>lechner: in pure scheme, it should look like (exactly) as what g-golf does, pasted above, the scm->gi-strings and bv-ptr-[ref|set!] ... feel free to snarf the code, it is free s/w ...
***Furor is now known as Colere
***chris is now known as Guest1789
***Guest1789 is now known as chrislck
<chrislck>sneek: botsnack
<sneek>:)