Originally created by @zhangyoufu on GitHub (Dec 7, 2020).
```
PREFERRED_CHAIN='DST Root CA X3'
```
failed with
```
ERROR: Alternative chain with CN = 'DST Root CA X3' not found, available options: DST Root CA X3, ISRG Root X1
```
The parsing logic for certificate-specific config does not handle quotes correctly. See
https://github.com/dehydrated-io/dehydrated/blob/589e9f30b383751a927d745e83c0c53bf42a195c/dehydrated#L1600-L1627
I tried a simpler fix first, which seemed at least a tiny bit cleaner on first sight. I should find a better way for doing these checks...
@lukas2511 commented on GitHub (Dec 9, 2020):
I tried a simpler fix first, which seemed at least a tiny bit cleaner on first sight. I should find a better way for doing these checks...
Trim single quotes from config_value does fix the issue for my use case. I'm looking forward to a better way.
$ FOO="'"
$ set | fgrep FOO=
FOO=\'
@zhangyoufu commented on GitHub (Dec 10, 2020):
Trim single quotes from config_value does fix the issue for my use case. I'm looking forward to a better way.
```
$ FOO="'"
$ set | fgrep FOO=
FOO=\'
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @zhangyoufu on GitHub (Dec 7, 2020).
failed with
The parsing logic for certificate-specific config does not handle quotes correctly. See
https://github.com/dehydrated-io/dehydrated/blob/589e9f30b383751a927d745e83c0c53bf42a195c/dehydrated#L1600-L1627
@lukas2511 commented on GitHub (Dec 9, 2020):
I tried a simpler fix first, which seemed at least a tiny bit cleaner on first sight. I should find a better way for doing these checks...
@zhangyoufu commented on GitHub (Dec 10, 2020):
Trim single quotes from config_value does fix the issue for my use case. I'm looking forward to a better way.