TinCanTech / easy-tls

Manage and Inline OpenVPN TLS keys and Easy-RSA PKI credentials. Supports OpenVPN TLS-Crypt-V2 key system and OpenVPN Peer-Fingerprint mode.
GNU General Public License v2.0
87 stars 19 forks source link

Allow remove-inline to remove a file which fails HASH #263

Closed TinCanTech closed 2 years ago

TinCanTech commented 2 years ago

If an inline file is manually changed then it will fail the HASH.

These are likely to be manually changed and then the change is forgotten, so the file cannot be restored to pass the HASH.

Instead, allow damaged inline files to be removed from the index and renamed.

TinCanTech commented 2 years ago

If the inline file is changed then the original HASH is also lost.

Inline files now need a serial number.

TinCanTech commented 2 years ago

No serial number required but it's still a good idea ..