[RTFACT-17218] Retrieve GPG Keys From DB Created: 30/Jul/18  Updated: 27/Aug/18  Resolved: 15/Aug/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0

Type: New Feature Priority: Normal
Reporter: Ohad Levy Assignee: Tamir Hadad
Resolution: Fixed Votes: 0
Labels: None


Customer use case:

Customer runs Artifactory as immutable and disposable instances (deletes it each time).

The instance is always connected back to an existing DB and filestore.

The customer is using GPG keys. The customer claims that at certain points the GPG keys will be retrieved from the DB and at other times they won't.  

The customer wants the GPG keys to always be retrieved from the DB even if they are deleted from the Art_home/etc/security folder.


We have tested this and found the following:

If the files are deleted from  Art_home/etc/security folder, when the instance is not running. The GPG keys will be retrieved from the DB back to the etc/security folder. However this only works for an Artifactory instance that has never been updated. On the other hand if the Artifactory instance is up and running and the GPG keys are deleted this will remove them, but they are still present in the DB just not recognized or used by Artifactory.

Comment by Krzysztof Malinowski [ 27/Aug/18 ]

Could you please clarify what is the final solution? Are the keys always retrieved from DB instead of ART_HOME/etc/security? What in case of file deletion or upgrade?

Generated at Wed Jun 03 00:52:19 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.