"Failed to save a CSR" is not fed to $opt->{'error'}->(...) before being returned
guest20 opened this issue · 5 comments
guest20 commented
It seems like all the other "Failed to write" errors are wrapped in something like:
return $opt->{'error'}->("Failed to save a CSR key", 'CSR_SAVE') if _write($opt->{'csr-key'}, $le->csr_key);
but some how this one is just returned as a bare string:
Line 123 in 29d363a
I'm sure this would cause the script to die with "not a hash-ref" in &main
if I were running bin/le.pl
like a normal person
do-know commented
Thanks for flagging, will have a look.
do-know commented
Should be fixed on the upcoming version (available on the 'beta' branch now)
guest20 commented
Neat!
do-know commented
Pushed v0.39, which includes the change.
guest20 commented
I guess this is the "Minor fixes" part in the Changes