Use secrets service for cups auth_info

Desktop / GNOME / GTK - Andre Heinecke [intevation.de] - 1 September 2014 15:39 UTC

When a printer requires auth_info (e.g. a printer connected over the samba protocol) it is now possible to save the credentials necessary for printing if a secrets service is available over dbus. The auth_info is then stored / loaded from the default collection of that secrets service. If no such service is available the user is not shown the option to remember the password and the behavior remains the same as before.

https://bugzilla.gnome.org/show_bug.cgi?id=674264

382d68f Use secrets service for cups auth_info
gtk/gtkmarshalers.list | 1 -
gtk/gtkprintbackend.c | 46 +-
gtk/gtkprintbackend.h | 9 +-
modules/printbackends/cups/Makefile.am | 6 +-
modules/printbackends/cups/gtkcupssecretsutils.c | 1044 ++++++++++++++++++++++
modules/printbackends/cups/gtkcupssecretsutils.h | 41 +
modules/printbackends/cups/gtkprintbackendcups.c | 169 +++-
7 files changed, 1292 insertions(+), 24 deletions(-)

Upstream: git.gnome.org


  • Share