----- Le 27 Nov 20, à 9:01, mail <[email protected]> a écrit : 

> Hi Daniel,

> this looks like it comes from our new feature to use "inline" YAML code to
> format the HTML output - this happens at runtime and has nothing to do with 
> the
> initial config.

> The prompt looks like you are not running on debian
I'm running on CentOS 7 

> might be a problem with the underlying YAML library on your system not 
> behaving
> like those we have
I frequently have issues with missing new line (this time with the inline YAML, 
but it's also often the case with the default config). So I think indeed 
there's something with the libs I'm using behaving differently. 

> ...in case you want to investigate this further, have a look here [
> https://github.com/openxpki/openxpki/blob/develop/core/server/OpenXPKI/Client/UI/Workflow.pm#L3002
> |
> https://github.com/openxpki/openxpki/blob/develop/core/server/OpenXPKI/Client/UI/Workflow.pm#L3002
> ] .

> It might help to just add a trailing newline in line 3006.
Yes, just found it a bit late yesterday after my mail. Appending a "\n" to the 
$out var makes the error goes away (well, it still fails a bit later, something 
to do with password quality check I think) 

Thanks for your assistance :-) 

Will send a PR once fully debuged. 

Cheers, 
Daniel 

-- 

[ https://www.firewall-services.com/ ]  
Daniel Berteaud 
FIREWALL-SERVICES SAS, La sécurité des réseaux 
Société de Services en Logiciels Libres 
Tél : +33.5 56 64 15 32 
Matrix: @dani:fws.fr 
[ https://www.firewall-services.com/ | https://www.firewall-services.com ] 
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to