mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
Revoked certificates are not archived #214
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Apr 23, 2017).
The --cleanup command does not move files like "cert-123-pem-revoked" to the archive directory.
Is this by design, or should the cleanup procedure actually move those files as well?
Thank you.
@txr13 commented on GitHub (Apr 23, 2017):
This is (as far as I can tell) by design. The cleanup procedure checks the symlinks to determine the current targets, then archives the files of that type that are not currently linked.
I'm going just from memory here, but I believe this procedure doesn't work for revoked files, since they're no longer in the same naming convention as the subroutine checks for.
This is a duplicate of #237. I've been meaning to write some code to address this, but I haven't figured out a good way to archive all revoked certs without touching any other user-created files in the filespace...
@ghost commented on GitHub (Apr 25, 2017):
It's not a bug, it is a feature :)
Just kidding, I am glad someone is aware of the problem and I am sure it will get sorted out eventually.
@lukas2511 commented on GitHub (Jul 10, 2017):
Fixed in
dc600e39b8.