Am 06.04.20 um 17:44 schrieb Steffan Karger:
> Hi,
>
> On 06-04-2020 15:00, Arne Schwabe wrote:
>> crypto_pem_encode put a nul-terminated terminated string into the
>> buffer. This is useful for printf but should not be written into
>> the file.
>>
>> Also for static keys, we were missing the nul
On 06-04-2020 18:00, Arne Schwabe wrote:
> Am 06.04.20 um 17:44 schrieb Steffan Karger:
>> Hi,
>>
>> On 06-04-2020 15:00, Arne Schwabe wrote:
>>> crypto_pem_encode put a nul-terminated terminated string into the
>>> buffer. This is useful for printf but should not be written into
>>> the file.
>>>
I have tested this fix all the way to ensuring that tls-cypt-v2.keys are
created successfully and do allow successful VPN connection.
I have not tested auth-tokens.
Tested-by: Richard Bonhomme
On 06/04/2020 14:00, Arne Schwabe wrote:
crypto_pem_encode put a nul-terminated terminated string
crypto_pem_encode put a nul-terminated terminated string into the
buffer. This is useful for printf but should not be written into
the file.
Also for static keys, we were missing the nul termination when priting
it to stadout but since the buffer was cleared before, there was always
a NULL byte