We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
The check if a key is in disabled list is not working if there is no subkey:
266 # Search disabled list for client serial number 267 fn_search_disabled_list () 268 { 269 grep -c "^${md_serial}[[:blank:]]${md_name}[[:blank:]]${md_subkey}$" \ 270 "$disabled_list" 271 }
If ${md_subkey} is empty the blank match before it should not be present.
Maybe the function has to be something like that:
266 # Search disabled list for client serial number 267 fn_search_disabled_list () 268 { 269 if [ "${md_subkey}" = "000000000000" ]; then 270 grep -c "^${md_serial}[[:blank:]]${md_name}$" \ 271 "$disabled_list" 272 else 273 grep -c "^${md_serial}[[:blank:]]${md_name}[[:blank:]]${md_subkey}$" \ 274 "$disabled_list" 275 fi 276 }
The text was updated successfully, but these errors were encountered:
HI, thanks for reporting this.
sub-key-name was complicated to integrate and so I do expect there to be some problems.
sub-key-name
What you describe certainly makes sense and I'll take a close look soon.
Sorry, something went wrong.
#104
Add --sub-key-name to disabled-list search in verify script
627d9f7
Signed-off-by: Richard Bonhomme <[email protected]>
Please let me know if this works for you. It passed my tests.
I don't know when you created your keys, so this may not work for you as-is.
If you have time, please try again with git/master/easy-tls and easytls-crypt-v2-verify.sh and new keys.
git/master/easy-tls
easytls-crypt-v2-verify.sh
Tip:
./easytls init-tls
I have tested with the new versions of easy-tls and easytls-crypt-v2-verify.sh and new keys and it is working OK. Thank you.
Thank you.
TinCanTech
No branches or pull requests
Hi,
The check if a key is in disabled list is not working if there is no subkey:
If ${md_subkey} is empty the blank match before it should not be present.
Maybe the function has to be something like that:
The text was updated successfully, but these errors were encountered: