gentoo-keys.git
10 years agogkeys/actions.py: load_seed(), Upgrade a logger.debug message to logger.error
Brian Dolbec [Fri, 28 Feb 2014 23:55:15 +0000 (15:55 -0800)]
gkeys/actions.py: load_seed(), Upgrade a logger.debug message to logger.error

10 years agoAdd ssl-fetch checkout
Brian Dolbec [Tue, 14 Jan 2014 16:37:33 +0000 (08:37 -0800)]
Add ssl-fetch checkout

10 years agoupdate the seed url's
Brian Dolbec [Tue, 14 Jan 2014 16:36:50 +0000 (08:36 -0800)]
update the seed url's

10 years agoRename bin/ldap-seeds to bin/gkey-ldap.
Brian Dolbec [Sun, 17 Nov 2013 15:10:29 +0000 (07:10 -0800)]
Rename bin/ldap-seeds to bin/gkey-ldap.

10 years agoAllow spaced fingerprint entries as well as multiple fingerprints.
Brian Dolbec [Sun, 17 Nov 2013 07:35:05 +0000 (23:35 -0800)]
Allow spaced fingerprint entries as well as multiple fingerprints.

Add a check for the total number of id's match the number of fingerprints
Add a re.compile string for the space separated groups of 4 hexdigits fingerprint strings

10 years agoInitial creation of the SeedHandler class.
Brian Dolbec [Sat, 16 Nov 2013 20:07:11 +0000 (12:07 -0800)]
Initial creation of the SeedHandler class.

Move the relavent code from gkeys/actions.py to the the new SeedHandler class.

10 years agofix missed dictionary value assignment
Brian Dolbec [Sat, 16 Nov 2013 20:05:22 +0000 (12:05 -0800)]
fix missed dictionary value assignment

10 years agofix python compatibility
Brian Dolbec [Sat, 16 Nov 2013 20:02:47 +0000 (12:02 -0800)]
fix python compatibility

10 years agofix attribute error for newer pythons
Brian Dolbec [Sat, 16 Nov 2013 20:00:27 +0000 (12:00 -0800)]
fix attribute error for newer pythons

10 years agoMove KEY_LEN to config.
Brian Dolbec [Sat, 16 Nov 2013 19:51:29 +0000 (11:51 -0800)]
Move KEY_LEN to config.

10 years agoAdd some addition defaults to begin coding the fetching and scanning for seed files...
Brian Dolbec [Fri, 15 Nov 2013 09:11:09 +0000 (01:11 -0800)]
Add some addition defaults to begin coding the fetching and scanning for seed files known to gkeys.

10 years agoAdd errors count to the output.
Brian Dolbec [Fri, 15 Nov 2013 05:25:35 +0000 (21:25 -0800)]
Add errors count to the output.

10 years agoBegin migration to fingerprints only in ldap info
Brian Dolbec [Mon, 11 Nov 2013 16:43:17 +0000 (08:43 -0800)]
Begin migration to fingerprints only in ldap info

10 years agopreliminary coding to make gkeyldap py3 capable
Brian Dolbec [Sun, 10 Nov 2013 07:45:16 +0000 (23:45 -0800)]
preliminary coding to make gkeyldap py3 capable

10 years agoAdd missing logger.info messages.
Brian Dolbec [Sat, 9 Nov 2013 20:51:13 +0000 (12:51 -0800)]
Add missing logger.info messages.

Reduce a debug message being printed multiple times.

10 years agoDon't add a dev's seed if there were errors
Brian Dolbec [Sat, 9 Nov 2013 19:27:28 +0000 (11:27 -0800)]
Don't add a dev's seed if there were errors

10 years agoAdd more checks moving them to idividual functions.
Brian Dolbec [Fri, 8 Nov 2013 04:41:26 +0000 (20:41 -0800)]
Add more checks moving them to idividual functions.

Improve error messages and unify output for both logs and terminal output.

10 years agoAdd keyserver config option
Brian Dolbec [Sat, 27 Jul 2013 12:43:34 +0000 (05:43 -0700)]
Add keyserver config option

10 years agoChange to make keys install to individual directories.
Brian Dolbec [Wed, 17 Jul 2013 01:52:30 +0000 (18:52 -0700)]
Change to make keys install to individual directories.

Git has no options to set the git keydir or keyring.
Must set GNUPGHOME env variable to the desired keydir before
calling git log --show-signature  to verify commits.

10 years agoUpadte for the new pyGPG pkg name.
Brian Dolbec [Tue, 16 Jul 2013 00:49:30 +0000 (17:49 -0700)]
Upadte for the new pyGPG pkg name.

10 years agoMove the api actions to it's own class.
Brian Dolbec [Sun, 14 Jul 2013 16:55:14 +0000 (09:55 -0700)]
Move the api actions to it's own class.

Fix printing to be configurable (sort of)

10 years agoSplit out common keypath code to it's own function
Brian Dolbec [Sun, 14 Jul 2013 06:04:26 +0000 (23:04 -0700)]
Split out common keypath code to it's own function

Add a reset task() to clear/reset additional args.
Code list_keys()

10 years agoMore Actions improvements.
Brian Dolbec [Sun, 14 Jul 2013 06:01:47 +0000 (23:01 -0700)]
More Actions improvements.

10 years agoMove actions logic out to their own class.
Brian Dolbec [Sat, 13 Jul 2013 08:02:18 +0000 (01:02 -0700)]
Move actions logic out to their own class.

10 years agoClean out uneeded code
Brian Dolbec [Sun, 7 Jul 2013 14:13:40 +0000 (07:13 -0700)]
Clean out uneeded code

10 years agofix some typo's
Brian Dolbec [Sat, 6 Jul 2013 16:46:08 +0000 (09:46 -0700)]
fix some typo's

10 years agoAdd gpgkey, gpgfingerprint check when building the seed info
Brian Dolbec [Fri, 28 Jun 2013 19:40:48 +0000 (12:40 -0700)]
Add gpgkey, gpgfingerprint check when building the seed info

10 years agoInitial logfile capability
Brian Dolbec [Fri, 28 Jun 2013 19:17:10 +0000 (12:17 -0700)]
Initial logfile capability

Add logfile capability to gkeyldap
Remove logger.setLevel()
Create logfiles and set different levels for the terminal and logfile.

10 years agoWork in progress changes to get add_key coded & working.
Brian Dolbec [Wed, 26 Jun 2013 08:31:00 +0000 (01:31 -0700)]
Work in progress changes to get add_key coded &  working.

10 years agofix the typo in gkeys.conf
Brian Dolbec [Wed, 26 Jun 2013 08:29:31 +0000 (01:29 -0700)]
fix the typo in gkeys.conf

10 years agoRemove spaces in fingerprints to match what gpg returns
Brian Dolbec [Tue, 25 Jun 2013 23:29:44 +0000 (16:29 -0700)]
Remove spaces in fingerprints to match what gpg returns

10 years agoRefactor GKEY calss to handle all packing and unpacking of data in order to handle...
Brian Dolbec [Tue, 25 Jun 2013 15:38:41 +0000 (08:38 -0700)]
Refactor GKEY calss to handle all packing and unpacking of data in order to handle list type field data.

10 years agoMap dev's GKEY keyring field to ldap's uid.
Brian Dolbec [Sun, 23 Jun 2013 07:01:27 +0000 (00:01 -0700)]
Map dev's GKEY keyring field to ldap's uid.

10 years agoAdd check for no valid keyid/longkeyid found in ldap data
Brian Dolbec [Sun, 23 Jun 2013 03:06:53 +0000 (20:06 -0700)]
Add check for no valid keyid/longkeyid found in ldap data

Account for missing gpgkey key
Prevent a double error message

10 years agoStrip line feeds from seeds when loading
Brian Dolbec [Sun, 23 Jun 2013 01:26:52 +0000 (18:26 -0700)]
Strip line feeds from seeds when loading

10 years agoFix a self error
Brian Dolbec [Sun, 23 Jun 2013 01:22:02 +0000 (18:22 -0700)]
Fix a self error

10 years agoset encoding in files
Brian Dolbec [Sun, 23 Jun 2013 01:21:42 +0000 (18:21 -0700)]
set encoding in files

10 years agostrip errant line feeds in ldap values
Brian Dolbec [Sun, 23 Jun 2013 01:19:23 +0000 (18:19 -0700)]
strip errant line feeds in ldap values

10 years agoAdd GKEY field name to error output
Brian Dolbec [Sun, 23 Jun 2013 00:36:31 +0000 (17:36 -0700)]
Add GKEY field name to error output

10 years agoAdd keyid/longkeyid separation and assignment
Brian Dolbec [Sat, 22 Jun 2013 21:01:48 +0000 (14:01 -0700)]
Add keyid/longkeyid separation and assignment

10 years agoAdd -D, --debug level to cli
Brian Dolbec [Sat, 22 Jun 2013 20:20:43 +0000 (13:20 -0700)]
Add -D, --debug level to cli

Comment out a parse_argrs logger line, move the debug reassignment to after it's setting.

10 years agoAdd more progress feedback for normal usage.
Brian Dolbec [Sat, 22 Jun 2013 20:13:54 +0000 (13:13 -0700)]
Add more progress feedback for normal usage.

10 years agoMake the logger, namespace able.
Brian Dolbec [Sat, 22 Jun 2013 19:41:31 +0000 (12:41 -0700)]
Make the logger, namespace able.

10 years agoUnify logger message identification
Brian Dolbec [Sat, 22 Jun 2013 19:29:02 +0000 (12:29 -0700)]
Unify logger message identification

10 years agoSome pyflakes cleanup and fix logger messages
Brian Dolbec [Sat, 22 Jun 2013 22:11:01 +0000 (15:11 -0700)]
Some pyflakes cleanup and fix logger messages

10 years agoAdd error output for missing data, comment out a debug statement
Brian Dolbec [Sat, 22 Jun 2013 18:11:19 +0000 (18:11 +0000)]
Add error output for missing data, comment out a debug statement

Error for 'undefined' in values obtained from ldap

10 years agoSort the devs on their nick
Brian Dolbec [Sat, 22 Jun 2013 17:28:30 +0000 (17:28 +0000)]
Sort the devs on their nick

10 years agoAdd seed count and error for missing data
Brian Dolbec [Sat, 22 Jun 2013 17:20:54 +0000 (10:20 -0700)]
Add seed count and error for missing data

10 years agofilter results for 'active' devs only
Brian Dolbec [Sat, 22 Jun 2013 16:07:16 +0000 (09:07 -0700)]
filter results for 'active' devs only

10 years agoInitial commit of an ldap search and seed file creation tool.
Brian Dolbec [Sat, 22 Jun 2013 01:46:22 +0000 (18:46 -0700)]
Initial commit of an ldap search and seed file creation tool.

This app is intended to be run on infra machines or a dev's
home directory on dev.gentoo.org in order for it to have
access to the gentoo ldap server.

10 years agoAdd a configured separator for the in file seed info.
Brian Dolbec [Sat, 22 Jun 2013 01:43:33 +0000 (18:43 -0700)]
Add a configured separator for the in file seed info.

10 years agoAdd keyring parameter to GkeysGPG class
Brian Dolbec [Sat, 22 Jun 2013 01:42:03 +0000 (18:42 -0700)]
Add keyring parameter to GkeysGPG class

10 years agoAdd nick field to GKEY class
Brian Dolbec [Sat, 22 Jun 2013 01:40:42 +0000 (18:40 -0700)]
Add nick field to GKEY class

10 years agoAdd a --nick option.
Brian Dolbec [Sat, 22 Jun 2013 01:38:50 +0000 (18:38 -0700)]
Add a --nick option.

Move the --name short option to -N, so -n could be for --nick.
Fix  a copied message that I failed to edit.

10 years agoAdd an automatice relative testpath file for runing from the git checkouts.
Brian Dolbec [Sat, 22 Jun 2013 01:34:24 +0000 (18:34 -0700)]
Add an automatice relative testpath file for runing from the git checkouts.

11 years agoremove the shebang from all lib files, since they won't have an if __main__:
Brian Dolbec [Sun, 23 Dec 2012 07:04:36 +0000 (23:04 -0800)]
remove the shebang from all lib files, since they won't have an if __main__:

11 years agofix missed copy/paste edit.
Brian Dolbec [Mon, 10 Dec 2012 04:56:34 +0000 (20:56 -0800)]
fix missed copy/paste edit.

11 years agoadd moveseed functionality.
Brian Dolbec [Mon, 10 Dec 2012 04:56:08 +0000 (20:56 -0800)]
add moveseed functionality.

11 years agocode list, add remove seeds. Very basic output printing for now.
Brian Dolbec [Mon, 10 Dec 2012 03:25:47 +0000 (19:25 -0800)]
code list, add remove seeds. Very basic output printing for now.

11 years agodebug seed.py
Brian Dolbec [Mon, 10 Dec 2012 03:24:37 +0000 (19:24 -0800)]
debug seed.py

11 years agohyphenate the config file variables, make config handling work.
Brian Dolbec [Mon, 10 Dec 2012 03:23:51 +0000 (19:23 -0800)]
hyphenate the config file variables, make config handling work.

11 years agochmod +x gkeys
Brian Dolbec [Mon, 10 Dec 2012 03:19:11 +0000 (19:19 -0800)]
chmod +x gkeys

11 years agoadd gkeys.__init__.py
Brian Dolbec [Sun, 9 Dec 2012 15:22:26 +0000 (07:22 -0800)]
add gkeys.__init__.py

11 years agoAdd seed files to gkeys.conf
Brian Dolbec [Sun, 9 Dec 2012 15:17:37 +0000 (07:17 -0800)]
Add seed files to gkeys.conf

11 years agoNew file seed.py, class Seeds for all seed file handling, config fixes and extend...
Brian Dolbec [Sun, 9 Dec 2012 15:16:01 +0000 (07:16 -0800)]
New file seed.py, class  Seeds for all seed file handling, config fixes and extend GKEY capability.

11 years agorename to gkeys namespace, '-' in names is not allowed.
Brian Dolbec [Sun, 9 Dec 2012 15:12:52 +0000 (07:12 -0800)]
rename to gkeys namespace, '-' in names is not allowed.

11 years agodoh!, forgot to rename the file before the first commit.
Brian Dolbec [Mon, 3 Dec 2012 07:32:37 +0000 (23:32 -0800)]
doh!, forgot to rename the file before the first commit.

11 years agoAdd a copy of layman's utils.py minus some layman specific functions.
Brian Dolbec [Mon, 3 Dec 2012 07:23:18 +0000 (23:23 -0800)]
Add a copy of layman's utils.py minus some layman specific functions.

11 years agoInitial stubbing out of a gentoo-keys gkey manager cli app, lib and config.
Brian Dolbec [Mon, 3 Dec 2012 07:22:03 +0000 (23:22 -0800)]
Initial stubbing out of a gentoo-keys gkey manager cli app, lib and config.