Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump versions for a release0.2 | Brian Dolbec | 2016-01-23 | 1 | -1/+1 |
| | |||||
* | actions.py: Update ssl-fetch Connector call, add climit | Brian Dolbec | 2016-01-20 | 1 | -1/+4 |
| | | | Update for an ssl-fetch API change | ||||
* | gkeys-gpg: Make singing and other than verify actions work | Brian Dolbec | 2015-12-25 | 3 | -41/+32 |
| | |||||
* | gkeys/actionbase.py: Add an exception to the raise statements | Brian Dolbec | 2015-12-12 | 1 | -2/+2 |
| | | | There were no active exceptions at this point which in itself caused an exception. | ||||
* | gkeys/log.py: Remove a couple commented out debug prints | Brian Dolbec | 2015-12-12 | 1 | -2/+0 |
| | |||||
* | gkeysgpg/actions.py: Recode the sign() to replace this process with the gpg call | Brian Dolbec | 2015-12-12 | 1 | -7/+24 |
| | |||||
* | gkeys: Set default verify-keyring, add verify-nick default | Brian Dolbec | 2015-08-25 | 2 | -2/+4 |
| | | | | Fix verify-keyring typo in verify action. Add missed self.category setting in verify(). | ||||
* | actionbase.py: Fix sanity check in _set_category | Brian Dolbec | 2015-08-25 | 1 | -1/+3 |
| | | | | pyGPG changed, it now returns None for a key/subkey that it fails to find. Add a cat check as well. | ||||
* | gkeys: Add settable trust-model for the keyrings | Brian Dolbec | 2015-08-09 | 2 | -1/+23 |
| | | | | The --trust-model option is needed for git verification and many other gkeys operations. | ||||
* | gkeys/seedhandler.py: Add an isdir check to load_category | Brian Dolbec | 2015-08-09 | 1 | -0/+2 |
| | | | | This prevents trying to look into a file like it does a keyring directory. (I accidentlly added garbage to a keyring using gpg directly) | ||||
* | gkeysgpg/cli: Fix a list copy | Brian Dolbec | 2015-08-08 | 1 | -1/+1 |
| | |||||
* | Fix setup.py for gkeys-gpg tool. | Robin H. Johnson | 2015-08-08 | 1 | -2/+2 |
| | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> | ||||
* | gkeysgpg: Initial commit of the gkeys-gpg command | Brian Dolbec | 2015-08-08 | 4 | -0/+376 |
| | | | | | | | | Working skeleton of the cli using the gkeys cli code base gkeysgpg: Get the initail cli operations working with stubbed out Actions Parse the stdin data for the user name, nick, search for and set the correct keydir. Add in remaining args options needed. Change the return info from True/False to 0/1 to prevent confusion. | ||||
* | gkeys/lib.py: Creation of the code for the verify_text() | Brian Dolbec | 2015-08-08 | 1 | -2/+11 |
| | |||||
* | gkeys: [2 of 2] Move common key handling to it's own class | Brian Dolbec | 2015-08-08 | 2 | -118/+148 |
| | | | | | | | | | Creation of a new KeyHandler class. Move primary seed handling intialization and control to the new KeyHandler class. This unifies key handling and removes suplicated code throughout Actions class. Break out a KEY_OPTIONS list. Cleans up a long line and makes it available for import use to ensure the correct options are added to the cli (gkeys-gpg) for correct key_search() operation. | ||||
* | gkeys: [1 of 2] Creation of a new ActionBase class | Brian Dolbec | 2015-08-08 | 2 | -7/+93 |
| | | | | | | | This class is to hold non-action functions/methods Restructure external handlers. Creation of @property decorated keyhandler, seedhandler, gpg functions to initialize and return.the classwide instances of their code. | ||||
* | gentoo-keys: Modify the cli base for the new gkeys-gpg gpg wrapper command | Brian Dolbec | 2015-08-08 | 2 | -19/+29 |
| | | | gkeys-gpg needs options added to the base app without sub commands. | ||||
* | gkeys: Update copyrights, Add Pavlos to several files | Brian Dolbec | 2015-08-08 | 7 | -11/+17 |
| | |||||
* | gkeys/base.py: Fix typo in action initialization | Brian Dolbec | 2015-08-08 | 1 | -1/+1 |
| | |||||
* | gkeys/seedhandler.py: Add an addtional debug log message | Brian Dolbec | 2015-08-08 | 1 | -2/+3 |
| | | | | Re-arrange the sorting of search_args for a better debug message. | ||||
* | gkeys/lib.py: Whitespace cleanup, remove an unused variable assignment | Brian Dolbec | 2015-08-02 | 1 | -1/+2 |
| | |||||
* | gkeys/lib.py: Split out _log_result() | Brian Dolbec | 2015-08-02 | 1 | -12/+13 |
| | | | Split out common code to be used for all veritf_* functions. | ||||
* | gkeys: Fix the user config location and operation | Brian Dolbec | 2015-08-02 | 2 | -5/+10 |
| | | | | | Move the config to ~/.config/gkeys/ along with the logs. Fix the improper ensure_dirs() call in base.py. | ||||
* | gkeys/base.py: Add missing action and timestamp attributes | Brian Dolbec | 2015-08-02 | 1 | -1/+3 |
| | | | Sort the staus attribute. | ||||
* | gkeys/actions.py: Fix a traceback when a filename does not have an extension | Brian Dolbec | 2015-08-02 | 1 | -1/+1 |
| | | | This will instead get the filename itself back. | ||||
* | gkeys/gkeysinterface.py: Initial commit of an api consumer interface | Brian Dolbec | 2015-07-25 | 1 | -0/+120 |
| | | | | | First use was for creating a gpg signed Manifest verification in portage. Use snakeoil's demandload for imports | ||||
* | gkeys/base.py: Add an alternate args class for compatibility use for Action ↵ | Brian Dolbec | 2015-07-25 | 1 | -0/+27 |
| | | | | | | | as an API Rough draft, so it can be used for the args arguments in Actions functions. An alternate to having an argsparser innstance. | ||||
* | gkeys: Re-enable remove-key action | Brian Dolbec | 2015-07-25 | 1 | -1/+1 |
| | |||||
* | gkeys/actions.py: Add filename extension check exclusion | Brian Dolbec | 2015-06-22 | 1 | -1/+2 |
| | |||||
* | gkeys/actions.py: verify url was not smart about being passed a sig url and ↵ | Brian Dolbec | 2015-05-31 | 1 | -3/+5 |
| | | | | | would fail to verify Move EXTENSIONS out as a constant instead of being defined twice. | ||||
* | gkeys/actions.py: Fix an UnboundLocalError | Brian Dolbec | 2015-05-30 | 1 | -0/+1 |
| | | | | | | File "/usr/lib64/python2.7/site-packages/gkeys/actions.py", line 798, in _verify results = self.gpg.verify_file(key, sig_path, filepath) UnboundLocalError: local variable 'sig_path' referenced before assignment Reported by: Johannes Huber <johu@gentoo.org> | ||||
* | gkeys/actions.py: Seed handling fixes | Brian Dolbec | 2015-05-30 | 1 | -4/+8 |
| | | | | Update for newer listseed() data returned. | ||||
* | gkeys/seedhandler.py: Fix build_gkeydict() | Brian Dolbec | 2015-05-30 | 1 | -2/+5 |
| | |||||
* | gkeys/seed.py: Replace codecs usage with unicode() | Brian Dolbec | 2015-05-30 | 1 | -1/+3 |
| | | | | | | Add a noop for an empty kwargs[key]. jgjhgj | ||||
* | gkeys/gkey.py: Fix typo in @license | Brian Dolbec | 2015-05-30 | 1 | -1/+1 |
| | |||||
* | gkeys: Use snakeoil's demandload where appropriate | Brian Dolbec | 2015-05-30 | 4 | -13/+31 |
| | |||||
* | gkeys/actions.py: Refactor installkey to refresh keys that are already ↵ | Brian Dolbec | 2015-05-30 | 1 | -32/+46 |
| | | | | installed and unchanged | ||||
* | gkeys/actions.py: Remove unused keyring_dir assignment | Brian Dolbec | 2015-05-30 | 1 | -1/+0 |
| | |||||
* | gkeys/seedhandler.py: Make key_search accept args as a dictionary or ↵ | Brian Dolbec | 2015-05-30 | 1 | -3/+13 |
| | | | | argsparse object | ||||
* | gkeys/config.py: Correctly set default keyring dir name to keyrings | Brian Dolbec | 2015-05-30 | 1 | -1/+1 |
| | |||||
* | gkeys/config.py: Remove no longer used MAPSEEDS constant | Brian Dolbec | 2015-05-30 | 1 | -3/+0 |
| | |||||
* | gkeys: Remove gpgsearch option from list-key action | Brian Dolbec | 2015-05-30 | 2 | -39/+11 |
| | | | | | The default action for list-key is to now list all keys found in the keydir. Regardless if they are in the db's seed file for that keydir. | ||||
* | gkeys/actionspy: Fix grammar in the confirmation input message | Brian Dolbec | 2015-05-30 | 1 | -1/+1 |
| | |||||
* | gkeys: Fix list-key action to list all keys found in the keydir unless -f is ↵ | Brian Dolbec | 2015-05-30 | 2 | -5/+9 |
| | | | | | | | passed in This now ignores the keys listed in the db's seed file and lists all keys seen by gpg. Except when -f, --fingerprint is an argument, then it lists only that key. | ||||
* | gkeys/lib.py: Fix logger message to show the correct function | Brian Dolbec | 2015-05-30 | 1 | -1/+1 |
| | |||||
* | gkeys/seedhandler.py: Add space removal for fingerprints in build_gkeydict() | Brian Dolbec | 2015-05-30 | 1 | -0/+2 |
| | |||||
* | gkeys: remove-key refactoring | Brian Dolbec | 2015-04-20 | 2 | -20/+42 |
| | | | | | Update the remove-key action to use the proper installed db. Populate the del_key, del_keydir functions in lib.py | ||||
* | gkeys/checks.py: Downgrade the logging to warn from error | Brian Dolbec | 2015-03-18 | 1 | -3/+3 |
| | | | | logging.error also prints to the screen which we don't want in this case. The logging.warn is fine for these errors since they are already shown in a formatted output. | ||||
* | gkeys/checks.py: Fix the expiry warning summary not detecting any | Brian Dolbec | 2015-03-17 | 2 | -4/+7 |
| | | | Add logger messages for expiry errors/warnings | ||||
* | gkeys: Fix setting deafault location of homedir | Brian Dolbec | 2015-03-10 | 2 | -3/+5 |
| | | | | Pass in the os.expanduser('~') setting to the config parser. Comment out the gkeys.conf homedir setting so it can use the passed in default. |