Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce new command revoke-issued #1266

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

TinCanTech
Copy link
Collaborator

@TinCanTech TinCanTech commented Dec 2, 2024

Remove the checks for accidental use of 'revoke', when 'revoke-expired' or 'revoke-renewed' is intended.

Replace these checks by forcing the user to decide which type of revoke command is required.

When batch mode is enabled, assume that 'revoke' is intended.

Edit: LGTM (The branch name is incorrect but I'm lazy) #1265

This is an inter-active usage issue, like an "easy mistake to make", which easyrsa should try to resolve.

@TinCanTech TinCanTech self-assigned this Dec 2, 2024
@TinCanTech TinCanTech added this to the v3.2.2 milestone Dec 2, 2024
@TinCanTech TinCanTech linked an issue Dec 3, 2024 that may be closed by this pull request
There exists in easyrsa command 'revoke', the unfortunate possibility
to revoke an incorrect certificate, far too easily.

For interactive use, require user to specify 'revoke-issued'.

revoke: Replace conflicting file checks with specific command selection

Remove the checks for accidental use of 'revoke', when 'revoke-expired'
or 'revoke-renewed' is intended.

Replace these checks by forcing the user to decide which type of revoke
command is required.

When batch mode is enabled, assume that 'revoke' is intended.

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
@TinCanTech TinCanTech changed the title revoke: Replace duplicate file checks with specific command selection Introduce new command revoke-issued Dec 3, 2024
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
@TinCanTech TinCanTech merged commit c5b243e into OpenVPN:master Dec 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate command revoke in favour of revoke-issued
1 participant