aboutsummaryrefslogtreecommitdiff
path: root/gkeys
Commit message (Collapse)AuthorAgeFilesLines
* gkeys: Move Action_Map and other non-operation data to action_map.pyBrian Dolbec2015-01-054-184/+439
| | | | | | | 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
* gkeys: Add pub_keyid property to GKEYBrian Dolbec2015-01-056-25/+44
| | | | | | | | 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.
* 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-031-5/+3
|
* Migrate all pkgs to using a complete Action_Map dictionaryBrian Dolbec2015-01-033-61/+180
| | | | 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/actions.py: Update docstrings and action optionsBrian Dolbec2014-12-311-8/+14
| | | | This in preparation for man pages during wiki help page editing.
* gkeys-gen: Add spec optionBrian Dolbec2014-12-311-0/+5
| | | | Action config changes
* gkeys-gen: Initial migration to use gkeys.base.CliBase classBrian Dolbec2014-12-311-1/+1
| | | | | | | 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-303-4/+4
|
* Map sub commands to class functionsBrian Dolbec2014-12-263-31/+59
| | | | | 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-262-4/+2
| | | | 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
|
* gkeys/base.py: Tweak -k, --keyring help messageBrian Dolbec2014-12-251-2/+2
|
* gkeys/actions.py: Verification output formatting tweaksBrian Dolbec2014-12-251-3/+3
|
* gkeys/actions.py: py2/py3 fixes for input/raw_inputBrian Dolbec2014-12-251-2/+9
|
* gkeys: Update fetchseed, verify actions to work with the new category systemBrian Dolbec2014-12-255-21/+66
|
* gkeys/base.py: Fix >=py3.3 argparse regression handling subparsersBrian Dolbec2014-12-251-1/+6
|
* gkeys.actions.py: Remove global ssl-fetch import in favor of the embedded importBrian Dolbec2014-12-251-1/+0
| | | For server installations (currently vulture.g.o) it may not need ssl-fetch nor have dev-python/requests installed.
* gkeys/base.py: Py3 compatibility fixBrian Dolbec2014-12-251-1/+6
|
* gkeys/SaneConfigParser: Fix py3 importsBrian Dolbec2014-12-251-6/+3
|