| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
gpg signed
This way if the git config is not set to enforce signing, this will ensure it is signed.
|
|
|
|
|
|
| |
This code was causing the fetch-seed action to fail with empty urls to connect to.
This code should also not be running directly from the CliBase class.
I'll move this code to the actions or lib class, to be determined later.
|
|
|
| |
This is to aid in troubleshooting fetch-sedd url errors.
|
|
|
|
|
|
|
|
|
|
| |
Add more detailed update reporting including the keys removed,
revoked/changed, added.
<rebase edit>
Convert print() to proper self.output()
Whitespace cleanup
Commit message improvements
</edit Brian Dolbec>
|
|
|
|
|
|
|
|
|
| |
Report the updated/revoked keys during the update.
<rebase edit>
Replace print() with self.output()
Whitespace cleanup
Create a meaningful commit message
</edit Brian Dolbec>
|
|
|
|
|
|
|
|
| |
Update descriptions.
Update operations to current library code usage.
<rebase edit>
Replace print() use with self.output(). Expand commit message
</edit Brian Dolbec>
|
|
|
|
| |
<rebase edit> use _set_category() for consistency </edit Brian Dolbec>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
I added a few more lines of code in `actions.py` that if `args.email` == `expiry`,
it logs in to the email server using the config credentials, checks every key
if they pass the days limit, finds the user's email, compiles a message
that includes all necessary information and sends the message to the user's email.
|
|
|
|
|
|
|
|
| |
The methods are:
is_expiring that checks if a key is expiring or has recently expired
set_template that reads the template file and returns it as a string
generate_template that substitutes the key prints in the template
find_email that extracts the correct email address from the key uid
|
|
|
|
| |
I created a new file called `mail.py` that handles the email login and the email sending.
|
|
|
|
|
|
| |
I added 2 `args` parameters called `--email` and `--user` in `base.py`
to be given to spec-check in order for the script to run.
(The `--user` is optional for the user to select with which account to login)
|
|
|
|
|
|
|
|
| |
Added a template_path and a commented days limit value in `gkeys.conf`.
Added a 30 default value for the days limit in `config.py`.
I also added another config file called `email.conf` that includes the 2 templates
for email users' credentials and a preferred address ending
with the default being `@gentoo` which if enabled will only send emails to these addresses.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
If the --signature argument refers to an existing file path,
use it. This fixes an issue where signature verification would
fail because the sig_path variable referred to None.
|
|
|
|
|
| |
The failed dictionary contains lists for each type of failure,
so return success if all of those lists are emtpy.
|
| |
|
|
|
|
| |
Changed the file format.
|
|
|
|
|
|
| |
Changed the names of Qualified_IDs
Changed Qualified_Id position
|
|
|
|
| |
X-Gentoo-bug: 572890
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=572890
|
|
|
| |
This will include a full traceback for debugging.
|
| |
|
| |
|
| |
|
|
|
| |
Update for an ssl-fetch API change
|
| |
|
|
|
| |
There were no active exceptions at this point which in itself caused an exception.
|
| |
|
| |
|
|
|
|
| |
Fix verify-keyring typo in verify action.
Add missed self.category setting in verify().
|
|
|
|
| |
pyGPG changed, it now returns None for a key/subkey that it fails to find.
Add a cat check as well.
|
|
|
|
| |
The --trust-model option is needed for git verification and many other gkeys operations.
|
|
|
|
| |
This prevents trying to look into a file like it does a keyring directory.
(I accidentlly added garbage to a keyring using gpg directly)
|
| |
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|\
| |
| | |
Gkeys-gpg
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|