| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
| |
All keyings locations can be set individually now
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
|
| |
Handles the case of incorrect configuration or keyring problems.
Reported by irc user "puchu" in #gentoo-keys.
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
Add sig_path assignment, makes the sig_path available to class instance holders like _verify()
Use the lack of a returned timestamp to abort the process
If the main file is not downloaded, then don't bother looking for a signature.
This allows a verify action to exit smoothly.
There is a message about the reason for not downloading, so is not hidden.
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
| |
This way it is done once and can be re-used anywhere in the code.
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
| |
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.
|