gentoo-keys.git
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.