wekan / ldap

LDAP support for Wekan code has been moved to https://github.com/wekan/wekan/tree/master/packages/wekan-ldap , issues to https://github.com/wekan/wekan/issues , and if PRs are needed please add them instead to https://github.com/wekan/wekan/pulls
https://github.com/wekan/wekan/tree/master/packages/wekan-ldap
MIT License
12 stars 10 forks source link

Handle '\n' line breaks in PEM-encoded SSL/TLS certificates #92

Closed robert-scheck closed 1 year ago

robert-scheck commented 3 years ago

For example Podman, handling OCI containers, does not seem to have a way to pass multi-line strings via env files (and Docker seems to have the same issue at least outside of docker-compose). Thus this change allows LDAP_CA_CERT to handle a string with \n, because currently only 0x0A aka LF might work. An example for additionally supported format:

LDAP_CA_CERT=-----BEGIN CERTIFICATE-----\n...\n...\n...\n-----END CERTIFICATE-----

See also: https://github.com/wekan/wekan-ldap/issues/91

robert-scheck commented 1 year ago

Closing because upstream code has been moved (and there https://github.com/wekan/wekan/pull/3485 as clone has been merged).