-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
Description
As of now, go-keyring only supports "plain" to transfer secrets.
It would be nice if go-keyring would support dh-ietf1024-sha256-aes128-cbc-pkcs7 as well as defined in here:
https://specifications.freedesktop.org/secret-service/latest/ch07s03.html
Further context: #66 (comment)
Kwallet recently added support for Secret Service API.
Looks like this does not work as "plain" Algorithm is not supported. Trying to use it, I get:
Algorithm plain is not supported. (only dh-ietf1024-sha256-aes128-cbc-pkcs7 is supported)
See: https://invent.kde.org/frameworks/kwallet/-/blob/master/src/runtime/kwalletd/kwalletfreedesktopservice.cpp#L265Probably either kwallet should add support for plain, or maybe
err := s.object.Call(serviceInterface+".OpenSession", 0, "plain", dbus.MakeVariant("")).Store(&disregard, &sessionPath)
could be changed to use other algorithms as well.
k11m1