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

vars: Conditionally disable "Prefer vars in PKI" message #1008

Closed

Conversation

TinCanTech
Copy link
Collaborator

@TinCanTech TinCanTech commented Aug 29, 2023

When EASYRSA or EASYRSA_PKI is set in vars then consider the user has done this intentionally and disable "vars in PKI" message.

If either of these are set then moving 'vars' to the PKI will cause EasyRSA to be unable to find 'vars' and will assume default PKI.

Superseded-by: #1014 (Possibly)

When EASYRSA or EASYRSA_PKI is set in vars then consider the user
has done this intentionally and disable "vars in PKI" message.

If either of these are set then moving 'vars' to the PKI will cause
EasyRSA to be unable to find 'vars' and will assume default PKI.

Signed-off-by: Richard T Bonhomme <[email protected]>
@TinCanTech TinCanTech self-assigned this Aug 29, 2023
The built-in vars file is a last resort fall back, in case packaging
is incomplete.

In such cases, the vars file will exist in the default PKI, which
does not allow changinging these variables.

Signed-off-by: Richard T Bonhomme <[email protected]>
@TinCanTech
Copy link
Collaborator Author

TinCanTech commented Aug 30, 2023

Superseded-by: #1014

Also, vars.example now keeps EASYRSA and EASYRSA_PKI.

@TinCanTech TinCanTech closed this Aug 30, 2023
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.

1 participant