Closed cfouche3005 closed 10 months ago
This is not something that can be done on the fly currently. But if you really want to generate a new key, here's how:
Specify a new key Id in the GPG key Id field (settings page). The key format must be xxxx@yyyy.
Enter the container:
docker exec -it repomanager /bin/bash
rm /var/lib/repomanager/.gnupg/pubring.* /var/lib/repomanager/.rpm/.mcs -f
ok thanks, can you put that into the setting documentation ?
This is done: https://github.com/lbr38/repomanager/wiki/08.-Settings#gpg-signing-key
There is another path you need to delete: /home/repo/gpgkeys/*
This directory stores the public key for the clients to retrieve.
Closing this issue & adding the "key change on the fly" in my TODO list ;-)
Is it possible to change the GPG Key ID in the setting page ? When I change it, my repo fail to build because it can't fing the new gpg key. Does auto generate the new key or do I need to provide it and if i need to provide it, where I can place it ?