summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Walter <stefw@src.gnome.org>2009-02-08 00:21:29 +0000
committerStefan Walter <stefw@src.gnome.org>2009-02-08 00:21:29 +0000
commitd4e77c102c3a7c801bf9e4eed0d15621a5c7dc84 (patch)
tree7a1293975401db784585a4f4ecd19aa03a50f382
parenta7fb3bc43b1352cc1fc3644ab4eca89b4691001e (diff)
Update after refactoring with new info about parts
svn path=/trunk/; revision=1525
-rw-r--r--ChangeLog4
-rw-r--r--HACKING75
2 files changed, 50 insertions, 29 deletions
diff --git a/ChangeLog b/ChangeLog
index 7390cc5f..13d9bccf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-02-07 Stef Walter <stef@memberwebs.com>
+ * HACKING: Update after refactoring with new info about parts
+
+2009-02-07 Stef Walter <stef@memberwebs.com>
+
* common/Makefile.am:
* common/gkr-location.c:
* common/tests/Makefile.am:
diff --git a/HACKING b/HACKING
index ab31f11e..deff9496 100644
--- a/HACKING
+++ b/HACKING
@@ -4,57 +4,74 @@ HACKING GNOME KEYRING
Patches should be submitted to bugzilla:
http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-keyring
+The gnome-keyring mailing list is:
+gnome-keyring-list@gnome.org
+
Gnome Keyring is made up of several distinct parts working on concert with
each other. These parts generally live in different directories:
+common
+ Deprecated. This code will shortly live elsewhere. Daemon code will be moved
+ into daemon/ some code may move into egg/ etc...
+
daemon
The main daemon startup code and gnome-keyring password protocol operations.
daemon/keyrings
Code that manages the user's password keyrings
-daemon/pk
- General public key / certificate code, management of objects.
+daemon/pk
+ Old code, disappearing presently, not in use.
daemon/pkcs11
- The PKCS#11 part of the daemon.
-
-daemon/pkix
- Nitty gritty handling of various PKCS#?? standards, parsing, ASN.1 stuff.
+ The various hooks that connect the PKCS#11 modules and code into the daemon.
daemon/ui
- Prompting the user, asking for passwords.
+ Prompting the user, asking for passwords.
+egg
+ Code that either: a) Really should be implemented elsewhere (eg: glib) but isn't.
+ b) Code that needs to be shared between loosely coupled gnome-keyring components.
+
+gcr
+ A public library for bits of crypto UI and parsing etc...
+
+gp11
+ A public library for accessing PKCS#11 modules.
+
library
The gnome-keyring library for accessing passwords and secrets.
+pam
+ The PAM module that unlocks the login keyring when the user logs in.
+
pkcs11
- The PKCS#11 module, provider and headers.
+ The various bits of the PKCS#11 implementation.
+
+pkcs11/gck
+ A base library for implementing our internal PKCS#11 modules.
+
+pkcs11/plex-layer
+ A PKCS#11 module that combines slots from multiple PKCS#11 modules into one module.
+
+pkcs11/roots-store
+ A PKCS#11 module that exposes Root CA certificates from a directory like /etc/ssl/certs
+
+pkcs11/rpc-layer
+ A PKCS#11 module that calls into the daemon. This is the module that apps actually use.
+
+pkcs11/ssh-agent
+ An SSH agent implementation that uses a PKCS#11 module for it's cryto and key storage.
+
+pkcs11/ssh-store
+ A PKCS#11 module which exposes objects in ~/.ssh directory.
+
+pkcs11/user-store
+ A PKCS#11 module for general storage of certificates and keys.
tests
Test tools and unit tests.
-
---------------------------------------------------------------------------------
- USING 'LOCATIONS' INSTEAD OF FILE PATHS
-
-Gnome Keyring supports having keyrings on removable media. Because removable
-media can be mounted in different mount-points, and for other related reasons,
-what's called a 'location' is used instead of a file point.
-
-Locations are like paths relative to a base. For example certain locations
-might be relative to a home directory, and others might be relative to a USB
-drive.
-
-Location functionality:
-
- common/gkr-location.h
-
-Common functions:
-
- gkr_location_from_path ()
- gkr_location_from_child ()
- gkr_location_to_path ()
--------------------------------------------------------------------------------
USE OF WORKER THREADS