[RTFACT-17218] Retrieve GPG Keys From DB Created: 30/Jul/18 Updated: 27/Aug/18 Resolved: 15/Aug/18
|Project:||Artifactory Binary Repository|
|Reporter:||Ohad Levy||Assignee:||Tamir Hadad|
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?