Stefan on Nostr: TIL: Secret – 1 Secret Service D-Bus client library Ich habe jetzt libsecret in ...
TIL: Secret – 1
Secret Service D-Bus client library
Ich habe jetzt libsecret in libcxmpp eingebunden. Damit lassen sich Passwörter speichern und auslesen. Das ging auch alles ziemlich schnell / einfach.
Das Passwort wird dann auch in seahorse angezeigt.
Jetzt kommt erst einmal eine kleine Accountverwaltung,..
make run
LD_LIBRARY_PATH=D_LIBRARY_PATH:../.libs/ G_MESSAGES_DEBUG=none ./demo
Loading Client Manager...
XMPP> account
Accounts:
Account 1 - demo@domain.tld
XMPP>
#XMPP #libcxmpp
Published at
2025-02-25 13:19:23Event JSON
{
"id": "577c5ae297c772ef28dfd173404d45bc715f42ccce0779bc6ae2fbbb9aed816a",
"pubkey": "fb818ef5f728cc4133faa39d8d199d5026c7a5333f1adfd564d93a72d3d2baf7",
"created_at": 1740489563,
"kind": 1,
"tags": [
[
"t",
"xmpp"
],
[
"t",
"libcxmpp"
],
[
"proxy",
"https://devlug.de/social/stefan/p/1740489563.506588",
"activitypub"
]
],
"content": "TIL: Secret – 1\nSecret Service D-Bus client library\nIch habe jetzt libsecret in libcxmpp eingebunden. Damit lassen sich Passwörter speichern und auslesen. Das ging auch alles ziemlich schnell / einfach.\n\nDas Passwort wird dann auch in seahorse angezeigt.\nJetzt kommt erst einmal eine kleine Accountverwaltung,..\n\nmake run\nLD_LIBRARY_PATH=D_LIBRARY_PATH:../.libs/ G_MESSAGES_DEBUG=none ./demo\nLoading Client Manager...\nXMPP\u003e account\nAccounts: \nAccount 1 - demo@domain.tld\nXMPP\u003e \n#XMPP #libcxmpp\n",
"sig": "13b07c17a271a2b2b6e1eda6327871debc4c2b78bfe06d0345a6e7c1b2088c7ca4b07fe4d840061c26c7a81268b1e1b74fda3744c147c91866af72cb0c4cb605"
}