Commit message (Collapse)AuthorAgeFilesLines
* gkeys: Move Action_Map and other non-operation data to action_map.pyBrian Dolbec2015-01-055-187/+440
| | | | | | | This removes the bloat of the man page data and makes obtaining the data less taxing for non-operational needs. Update Action_options import change Add list-key example Update more actions
* gkeyldap/actions.py: Add generated default uid to seed dataBrian Dolbec2015-01-051-0/+1
* gkeys: Add pub_keyid property to GKEYBrian Dolbec2015-01-058-25/+47
| | | | | | | | Actions like spec-check used keyid property which resulted in double processing and output since now all subkey fingerprints are in the fingerprint field. Add keys field to remaining places for seedhandling Fix add_key for the new GKEY.keys field Add cross saving fingerprints to the new keys field
* gkeys/actions.py: Remove import-key from Available_actionsBrian Dolbec2015-01-051-1/+1
| | | | This functions is totally untested so far, especially with all hte changes since it was first roughed in.
* py2man: Initial man templatesBrian Dolbec2015-01-052-0/+72
* Initial py2man pkg for auto-generating our man pagesBrian Dolbec2015-01-053-0/+266
* gkeys/__init__.py: Add Gkeys_Map for man page creationBrian Dolbec2015-01-051-0/+22
* gkeys/actions.py: Fix mis-sorted Key_ActionsBrian Dolbec2015-01-031-2/+2
* gkeys/actions.py: Move list-cats to General_ActionsBrian Dolbec2015-01-031-10/+10
* cli.py: Remove redundant codeBrian Dolbec2015-01-033-16/+16
* Migrate all pkgs to using a complete Action_Map dictionaryBrian Dolbec2015-01-036-82/+215
| | | | This dictionary holds all information for generating cli options, help, running the actions and generating man pages.
* gkeys/actions.py: Eliminate possible handler not defined errorBrian Dolbec2015-01-031-1/+1
* gkeys/base.py: Correct the option help messagesBrian Dolbec2015-01-031-5/+6
| | | | Remove nargs='*' from name option.
* gkeys/actions.py: sort the actions and the options for a better displayBrian Dolbec2015-01-031-9/+9
* initial man pagePavlos Ratis2015-01-021-0/+97
* gkeys/actions.py: Remove redundant (broken) verify_info codeBrian Dolbec2015-01-011-4/+0
* etc/gkeys.conf: Set a normal default log directoryBrian Dolbec2015-01-011-1/+2
* gkeys: update gkeys.confBrian Dolbec2015-01-011-16/+32
* gkeys-gen/etc/gkeys-gen.conf: Updates, add a second specBrian Dolbec2014-12-311-5/+15
| | | | | | Change the glep-63.spec to glep-63-recommended.spec Add the minimum spec as glep-63.spec. Set the default-spec to glep-63-recommended.spec
* gkeygen/actions.py: Message updates to show spec file and url being usedBrian Dolbec2014-12-312-8/+16
| | | | | | | | | Change a logger.error message to a logger.debug as the error info printed was too generic to be useful. Tweak the input messages for better display. etc/gkeys-gen.conf: Add spec-homepage section In order to make the creator fully configurable. We needed to make the homepage for the spec configurable too.
* gekys-gen/setup.py: Update for recent changesBrian Dolbec2014-12-311-0/+4
* gkeys/actions.py: Update docstrings and action optionsBrian Dolbec2014-12-311-8/+14
| | | | This in preparation for man pages during wiki help page editing.
* gkeygen/actions.py: Py 3 fixesBrian Dolbec2014-12-311-5/+6
| | | | | | Both downloads in py3 are byte strings. Need to decode them. Change the "No password given" messages. Add a logger.eror message with the GpgmeError received.
* gkeys-gen: Add spec optionBrian Dolbec2014-12-312-5/+13
| | | | Action config changes
* gkeys-gen: Initial migration to use gkeys.base.CliBase classBrian Dolbec2014-12-315-126/+120
| | | | | | | Add a new gkeys-gen specific config file extension to gkeys.conf. Change gpghome to use the configured gpg-home setting. Remove default SPEC and GPG_CONF settings, use configured ones. bin/gkey-gen update exit.
* gkeys/config.py: Move default config file setting to a functionBrian Dolbec2014-12-311-6/+9
| | | | | Make homedir initialzation part of the defaults options for consistency. Move the default user config file into a ~/.gkeys/ sub-directory
* gkeys/config.py: Make it possible to read more than one config fileBrian Dolbec2014-12-313-20/+36
| | | | | Save homedir to the config class for re-use in gkeys-gen multiple configs fix
* gkeys: Remove the need to import gkeys seed.py and lib.pyBrian Dolbec2014-12-315-76/+75
| | | | | | | | Pass in the logger to GkeysGPG initialization. Pass in logger to Seeds class initialization. This removes the need to import and set the logger in base.py. It can then be used in gkeys-gen and gkeys-ldap without those imports. Remove no longer needed imports.
* gkeys/base.py: Sort the _option_* functionsBrian Dolbec2014-12-301-48/+53
* gkeys/actions.py: Rename key-search action to search-key for consistencyBrian Dolbec2014-12-301-3/+3
* gkeys: Add UpdateDbError exception usageBrian Dolbec2014-12-304-8/+18
* gkeys/exception.py: Initial creation of GkeyException classesBrian Dolbec2014-12-301-0/+78
| | | Mostly copied, modified from PortageException code.
* gkeys/actions.py: Alignment tweak for key-search messageBrian Dolbec2014-12-302-2/+2
* gkeys/actions.py: Add uid search supportBrian Dolbec2014-12-301-3/+3
* gkeys/gkey.py: Separate uid string printing for list type outputBrian Dolbec2014-12-301-2/+6
* gkeys/actions.py: Fix broken key-search printingBrian Dolbec2014-12-301-2/+1
* gkeys/actions.py: Improve verification messages and infoBrian Dolbec2014-12-301-4/+8
* gkeys/actions.py: Add auto-search capability to verifyBrian Dolbec2014-12-301-27/+59
| | | | If verification fails with NO_PUBKEY, it then does a search for the correct verification keyring to verify with.
* gkeys/lib.py: Add the new GKEY.update() to add_key and refresh_keyBrian Dolbec2014-12-301-7/+17
| | | This updates our installed gkey.seed with all fingerprints including sub-keys and uid's. This way searches for keys used to sign files can be found if the key used to sign the file was not a primary key.
* gkeys: Add keys and uid options to actions and seed handlingBrian Dolbec2014-12-304-16/+38
| | | Add code to auto-update existing installed gkey.seeds files with the additional data.
* gkeys/gkey.py: Add keys and uid fields, update() to GKEYBrian Dolbec2014-12-301-3/+29
| | | | keys field will hold the primary key fingerprints for the (to be/) installed GKEY. fingerprints and uid fileds will be populated with all uid's and fingerprints defined in subkeys using the update().
* gkeys: Move all GKEYS definitions to it's own fileBrian Dolbec2014-12-306-44/+60
| | | Fix imports in other files.
* gkeys: Add key-search actionBrian Dolbec2014-12-304-3/+116
| | | | | | | | | | | | | Add _list_search() sub function. Add category output and grouping. Fix arg as a list searching as well as seed values as a list. Use recursion to get to single value searches. Make nick search to be partial unless --exact specified. Move main key_search code to SeedHandler class, it is much better suited to this class. Add 1name subparser option for single name entries only Add seen tracking in key_search to eliminate duplicates Add --all option to key-search If --all is specified, it filters out search results to match a seed for all criteria specified.
* remove unused importsPavlos Ratis2014-12-305-6/+4
* gkeyldap/cli.py: Remove unused importsBrian Dolbec2014-12-261-3/+0
* Map sub commands to class functionsBrian Dolbec2014-12-265-32/+67
| | | | | This allows the use of hypens in subcommands because they are no longer directly mapped to the class function they initiate. Do some more fine tuning of the grouping identifiers.
* gkeys/base.py: Add a justdoit option, fix boolean optionsBrian Dolbec2014-12-261-3/+10
* gkeys: Separate and sort the avaialbe actions into groupsBrian Dolbec2014-12-262-4/+34
| | | | Create false actions for the 3 groups to help improve the argparse help output. These stubb functions can be used later to organize and print the group specific actions only.
* gkeys/base.py: Shorten and enhance epilog messageBrian Dolbec2014-12-263-6/+3
| | | | The message was hitting a forced line wrapping right at "system" Enhance (capitolize) a few important words.
* gkeys/base.py: Improve help layout, unify no action help with py2.7Brian Dolbec2014-12-261-2/+5