Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh downloaded keys from key server #284

Open
slawekjaranowski opened this issue Jun 6, 2021 · 0 comments
Open

Refresh downloaded keys from key server #284

slawekjaranowski opened this issue Jun 6, 2021 · 0 comments
Labels
enhancement New feature or request. good first issue Good for newcomers. hacktoberfest to grab Ready to do and to grab by those willing.

Comments

@slawekjaranowski
Copy link
Member

Currently downloaded key is stored in cache forever.

Key can be changed by author and new version can be uploaded to kay server.

So we should have possibility to refresh key in cache.

We can add plugin parameters like: pgpKeysCacheMaxDays with default value 90.

Behavior

We will check key age during key access - if key in local storage is older than given days should be removed and download again from key server.

We don't check keys age of rest keys in cache storage that aren't used.

@slawekjaranowski slawekjaranowski added the enhancement New feature or request. label Jun 6, 2021
@slawekjaranowski slawekjaranowski changed the title Refresh downloaded keys from key server. Refresh downloaded keys from key server Jun 7, 2021
@slawekjaranowski slawekjaranowski added good first issue Good for newcomers. to grab Ready to do and to grab by those willing. labels Jun 7, 2021
pzygielo pushed a commit to pzygielo/pgpverify-maven-plugin that referenced this issue May 31, 2024
Upgrades
* guava to 31.1-jre (was 30.1-jre)
* mockito-core to 4.11.0 (was 4.8.1)
* plexus-utils to 3.5.1 (was 3.5.0)
* maven deps (used in demos only) to 3.8.7 (was 3.8.4) and add a comment to keep in sync with maven build

---

https://issues.apache.org/jira/browse/MRESOLVER-358
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request. good first issue Good for newcomers. hacktoberfest to grab Ready to do and to grab by those willing.
Development

No branches or pull requests

1 participant