Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gkeys: Move Action_Map and other non-operation data to action_map.py | Brian Dolbec | 2015-01-05 | 4 | -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 GKEY | Brian Dolbec | 2015-01-05 | 6 | -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_actions | Brian Dolbec | 2015-01-05 | 1 | -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 creation | Brian Dolbec | 2015-01-05 | 1 | -0/+22 |
| | |||||
* | gkeys/actions.py: Fix mis-sorted Key_Actions | Brian Dolbec | 2015-01-03 | 1 | -2/+2 |
| | |||||
* | gkeys/actions.py: Move list-cats to General_Actions | Brian Dolbec | 2015-01-03 | 1 | -10/+10 |
| | |||||
* | cli.py: Remove redundant code | Brian Dolbec | 2015-01-03 | 1 | -5/+3 |
| | |||||
* | Migrate all pkgs to using a complete Action_Map dictionary | Brian Dolbec | 2015-01-03 | 3 | -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 error | Brian Dolbec | 2015-01-03 | 1 | -1/+1 |
| | |||||
* | gkeys/base.py: Correct the option help messages | Brian Dolbec | 2015-01-03 | 1 | -5/+6 |
| | | | | Remove nargs='*' from name option. | ||||
* | gkeys/actions.py: sort the actions and the options for a better display | Brian Dolbec | 2015-01-03 | 1 | -9/+9 |
| | |||||
* | initial man page | Pavlos Ratis | 2015-01-02 | 1 | -0/+97 |
| | |||||
* | gkeys/actions.py: Remove redundant (broken) verify_info code | Brian Dolbec | 2015-01-01 | 1 | -4/+0 |
| | |||||
* | etc/gkeys.conf: Set a normal default log directory | Brian Dolbec | 2015-01-01 | 1 | -1/+2 |
| | |||||
* | gkeys: update gkeys.conf | Brian Dolbec | 2015-01-01 | 1 | -16/+32 |
| | |||||
* | gkeys/actions.py: Update docstrings and action options | Brian Dolbec | 2014-12-31 | 1 | -8/+14 |
| | | | | This in preparation for man pages during wiki help page editing. | ||||
* | gkeys-gen: Add spec option | Brian Dolbec | 2014-12-31 | 1 | -0/+5 |
| | | | | Action config changes | ||||
* | gkeys-gen: Initial migration to use gkeys.base.CliBase class | Brian Dolbec | 2014-12-31 | 1 | -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 function | Brian Dolbec | 2014-12-31 | 1 | -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 file | Brian Dolbec | 2014-12-31 | 3 | -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.py | Brian Dolbec | 2014-12-31 | 5 | -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_* functions | Brian Dolbec | 2014-12-30 | 1 | -48/+53 |
| | |||||
* | gkeys/actions.py: Rename key-search action to search-key for consistency | Brian Dolbec | 2014-12-30 | 1 | -3/+3 |
| | |||||
* | gkeys: Add UpdateDbError exception usage | Brian Dolbec | 2014-12-30 | 4 | -8/+18 |
| | |||||
* | gkeys/exception.py: Initial creation of GkeyException classes | Brian Dolbec | 2014-12-30 | 1 | -0/+78 |
| | | | Mostly copied, modified from PortageException code. | ||||
* | gkeys/actions.py: Alignment tweak for key-search message | Brian Dolbec | 2014-12-30 | 2 | -2/+2 |
| | |||||
* | gkeys/actions.py: Add uid search support | Brian Dolbec | 2014-12-30 | 1 | -3/+3 |
| | |||||
* | gkeys/gkey.py: Separate uid string printing for list type output | Brian Dolbec | 2014-12-30 | 1 | -2/+6 |
| | |||||
* | gkeys/actions.py: Fix broken key-search printing | Brian Dolbec | 2014-12-30 | 1 | -2/+1 |
| | |||||
* | gkeys/actions.py: Improve verification messages and info | Brian Dolbec | 2014-12-30 | 1 | -4/+8 |
| | |||||
* | gkeys/actions.py: Add auto-search capability to verify | Brian Dolbec | 2014-12-30 | 1 | -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_key | Brian Dolbec | 2014-12-30 | 1 | -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 handling | Brian Dolbec | 2014-12-30 | 4 | -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 GKEY | Brian Dolbec | 2014-12-30 | 1 | -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 file | Brian Dolbec | 2014-12-30 | 6 | -44/+60 |
| | | | Fix imports in other files. | ||||
* | gkeys: Add key-search action | Brian Dolbec | 2014-12-30 | 4 | -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 imports | Pavlos Ratis | 2014-12-30 | 3 | -4/+4 |
| | |||||
* | Map sub commands to class functions | Brian Dolbec | 2014-12-26 | 3 | -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 options | Brian Dolbec | 2014-12-26 | 1 | -3/+10 |
| | |||||
* | gkeys: Separate and sort the avaialbe actions into groups | Brian Dolbec | 2014-12-26 | 2 | -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 message | Brian Dolbec | 2014-12-26 | 2 | -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.7 | Brian Dolbec | 2014-12-26 | 1 | -2/+5 |
| | |||||
* | gkeys/base.py: Tweak -k, --keyring help message | Brian Dolbec | 2014-12-25 | 1 | -2/+2 |
| | |||||
* | gkeys/actions.py: Verification output formatting tweaks | Brian Dolbec | 2014-12-25 | 1 | -3/+3 |
| | |||||
* | gkeys/actions.py: py2/py3 fixes for input/raw_input | Brian Dolbec | 2014-12-25 | 1 | -2/+9 |
| | |||||
* | gkeys: Update fetchseed, verify actions to work with the new category system | Brian Dolbec | 2014-12-25 | 5 | -21/+66 |
| | |||||
* | gkeys/base.py: Fix >=py3.3 argparse regression handling subparsers | Brian Dolbec | 2014-12-25 | 1 | -1/+6 |
| | |||||
* | gkeys.actions.py: Remove global ssl-fetch import in favor of the embedded import | Brian Dolbec | 2014-12-25 | 1 | -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 fix | Brian Dolbec | 2014-12-25 | 1 | -1/+6 |
| | |||||
* | gkeys/SaneConfigParser: Fix py3 imports | Brian Dolbec | 2014-12-25 | 1 | -6/+3 |
| |