eu-federation-gateway-service / efgs-federation-gateway

The goal of this project is to develop the official European solution for the interoperability between national backend servers of decentralised contact tracing applications to combat COVID-19.
Apache License 2.0
59 stars 25 forks source link

Use OpenSSL Base64 Encoding for Calculating Certificate Hash #273

Closed ubamrein closed 2 years ago

ubamrein commented 3 years ago

This unifies base64 encoding on all platforms.

MacOSX/BSD variants of base64 encode strings on one line, whereas other implementations default to block encoding. Since the utilities are different we now use the openssl utility, which is used anyways, to base64 encode on one line, with the -A flag.