aboutsummaryrefslogtreecommitdiff
path: root/gkeys
Commit message (Collapse)AuthorAgeFilesLines
* Bump versions for a release0.2Brian Dolbec2016-01-231-1/+1
|
* actions.py: Update ssl-fetch Connector call, add climitBrian Dolbec2016-01-201-1/+4
| | | Update for an ssl-fetch API change
* gkeys-gpg: Make singing and other than verify actions work Brian Dolbec2015-12-253-41/+32
|
* gkeys/actionbase.py: Add an exception to the raise statementsBrian Dolbec2015-12-121-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 printsBrian Dolbec2015-12-121-2/+0
|
* gkeysgpg/actions.py: Recode the sign() to replace this process with the gpg callBrian Dolbec2015-12-121-7/+24
|
* gkeys: Set default verify-keyring, add verify-nick defaultBrian Dolbec2015-08-252-2/+4
| | | | Fix verify-keyring typo in verify action. Add missed self.category setting in verify().
* actionbase.py: Fix sanity check in _set_categoryBrian Dolbec2015-08-251-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 keyringsBrian Dolbec2015-08-092-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_categoryBrian Dolbec2015-08-091-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 copyBrian Dolbec2015-08-081-1/+1
|
* Fix setup.py for gkeys-gpg tool.Robin H. Johnson2015-08-081-2/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* gkeysgpg: Initial commit of the gkeys-gpg commandBrian Dolbec2015-08-084-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 Dolbec2015-08-081-2/+11
|
* gkeys: [2 of 2] Move common key handling to it's own classBrian Dolbec2015-08-082-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 classBrian Dolbec2015-08-082-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 commandBrian Dolbec2015-08-082-19/+29
| | | gkeys-gpg needs options added to the base app without sub commands.
* gkeys: Update copyrights, Add Pavlos to several filesBrian Dolbec2015-08-087-11/+17
|
* gkeys/base.py: Fix typo in action initializationBrian Dolbec2015-08-081-1/+1
|
* gkeys/seedhandler.py: Add an addtional debug log messageBrian Dolbec2015-08-081-2/+3
| | | | Re-arrange the sorting of search_args for a better debug message.
* gkeys/lib.py: Whitespace cleanup, remove an unused variable assignmentBrian Dolbec2015-08-021-1/+2
|
* gkeys/lib.py: Split out _log_result()Brian Dolbec2015-08-021-12/+13
| | | Split out common code to be used for all veritf_* functions.
* gkeys: Fix the user config location and operationBrian Dolbec2015-08-022-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 attributesBrian Dolbec2015-08-021-1/+3
| | | Sort the staus attribute.
* gkeys/actions.py: Fix a traceback when a filename does not have an extensionBrian Dolbec2015-08-021-1/+1
| | | This will instead get the filename itself back.
* gkeys/gkeysinterface.py: Initial commit of an api consumer interfaceBrian Dolbec2015-07-251-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 Dolbec2015-07-251-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 actionBrian Dolbec2015-07-251-1/+1
|
* gkeys/actions.py: Add filename extension check exclusion Brian Dolbec2015-06-221-1/+2
|
* gkeys/actions.py: verify url was not smart about being passed a sig url and ↵Brian Dolbec2015-05-311-3/+5
| | | | | would fail to verify Move EXTENSIONS out as a constant instead of being defined twice.
* gkeys/actions.py: Fix an UnboundLocalErrorBrian Dolbec2015-05-301-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 fixesBrian Dolbec2015-05-301-4/+8
| | | | Update for newer listseed() data returned.
* gkeys/seedhandler.py: Fix build_gkeydict()Brian Dolbec2015-05-301-2/+5
|
* gkeys/seed.py: Replace codecs usage with unicode()Brian Dolbec2015-05-301-1/+3
| | | | | | Add a noop for an empty kwargs[key]. jgjhgj
* gkeys/gkey.py: Fix typo in @licenseBrian Dolbec2015-05-301-1/+1
|
* gkeys: Use snakeoil's demandload where appropriateBrian Dolbec2015-05-304-13/+31
|
* gkeys/actions.py: Refactor installkey to refresh keys that are already ↵Brian Dolbec2015-05-301-32/+46
| | | | installed and unchanged
* gkeys/actions.py: Remove unused keyring_dir assignmentBrian Dolbec2015-05-301-1/+0
|
* gkeys/seedhandler.py: Make key_search accept args as a dictionary or ↵Brian Dolbec2015-05-301-3/+13
| | | | argsparse object
* gkeys/config.py: Correctly set default keyring dir name to keyringsBrian Dolbec2015-05-301-1/+1
|
* gkeys/config.py: Remove no longer used MAPSEEDS constantBrian Dolbec2015-05-301-3/+0
|
* gkeys: Remove gpgsearch option from list-key actionBrian Dolbec2015-05-302-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 messageBrian Dolbec2015-05-301-1/+1
|
* gkeys: Fix list-key action to list all keys found in the keydir unless -f is ↵Brian Dolbec2015-05-302-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 functionBrian Dolbec2015-05-301-1/+1
|
* gkeys/seedhandler.py: Add space removal for fingerprints in build_gkeydict()Brian Dolbec2015-05-301-0/+2
|
* gkeys: remove-key refactoringBrian Dolbec2015-04-202-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 errorBrian Dolbec2015-03-181-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 anyBrian Dolbec2015-03-172-4/+7
| | | Add logger messages for expiry errors/warnings
* gkeys: Fix setting deafault location of homedirBrian Dolbec2015-03-102-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.