After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 155681 - [PATCH] Command line interface to gnome-keyring
[PATCH] Command line interface to gnome-keyring
Status: RESOLVED WONTFIX
Product: gnome-keyring
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2004-10-18 02:11 UTC by W. Michael Petullo
Modified: 2005-09-18 00:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add gnome-keyringtool to gnome-keyring (16.23 KB, patch)
2004-10-27 15:37 UTC, W. Michael Petullo
none Details | Review
Patch to add gnome-keyringtool to gnome-keyring (16.78 KB, patch)
2004-11-14 03:27 UTC, W. Michael Petullo
none Details | Review
Patch to add gnome-keyringtool to gnome-keyring (13.16 KB, patch)
2005-08-22 12:35 UTC, W. Michael Petullo
none Details | Review

Description W. Michael Petullo 2004-10-18 02:11:27 UTC
It would be nice to have a command line oriented program for manipulating
gnome-keyrings.  This would allow shell scripts to look up passwords and perform
other operations.  I started a utility to do this and would like to see if
anyone else is interested in this functionality.  The output from "gnome-keyring
--help" should help illustrate some abilities that I am interested in:

[mike@imp src]$ ./gnome-keyring --help
gnome-keyring [options] operation [name]

-h, --help           print a list of options

operations:

unlock name          unlock the named keyring
create name          create the named keyring
passwd name          change the password for the named keyring
createdefault name   create the named keyring and make it the default
setdefault name      set the named keyringas the default
getdefault           print the name of the default keyring
delete name          delete the named keyring
Comment 1 W. Michael Petullo 2004-10-27 15:37:31 UTC
Created attachment 33128 [details] [review]
Patch to add gnome-keyringtool to gnome-keyring

This patch adds a new command line utility to gnome-keyring.  Gnome-keyringtool
allows one to perform basic keyring utilities.
Comment 2 W. Michael Petullo 2004-11-14 03:27:36 UTC
Created attachment 33750 [details] [review]
Patch to add gnome-keyringtool to gnome-keyring
Comment 3 W. Michael Petullo 2005-08-22 12:35:15 UTC
Created attachment 51114 [details] [review]
Patch to add gnome-keyringtool to gnome-keyring

This patch now takes advantage of the new synchronous functions provided by
gnome-keyring 0.4.3.
Comment 4 Alexander Larsson 2005-08-26 14:24:47 UTC
I have one issue with this. If people use it, and gnome-keyringtool ends up on
the ACL list for various keys, then any app could easily read any of those
passwords by just running gnome-keyringtool. This is sort of a security problem.

Also, it doesn't really follow the same coding standards as the rest of
gnome-keyring.
Comment 5 W. Michael Petullo 2005-08-27 02:16:44 UTC
Do you see any way to resolve this ACL issue?  Is there actually an issue yet,
given that I have only implemented keyring operations and not key operations
(you can't read or copy individual keys)?
Comment 6 Alexander Larsson 2005-08-29 12:15:29 UTC
I don't really see any way to resolve it, but you're right that it should be
safe as long as we don't allow you to read the actual secrets.
Comment 7 W. Michael Petullo 2005-09-18 00:03:03 UTC
Okay, I'm done with this.  Setting this bug to resolved because there is no
interest.