[PATCH] simplify blob handling

2016-01-26 Thread Matthias Berndt
Hi, here's the patch to simplify blob handling. Cheers, Matthias >From 469b5974cb539a7cfc2d79b489f58e98e79424dc Mon Sep 17 00:00:00 2001 From: Matthias Berndt Date: Tue, 26 Jan 2016 22:55:24 +0100 Subject: [PATCH] simplify blob handling --- properties/import-expor

Re: Simplify OpenVPN blob handling

2016-01-26 Thread Matthias Berndt
>OTOH if she is keeping her cert deliberately secure on an encrypted USB >storage device, and it gets copied to the unencrypted hard drive, she >might not be able to connect tomorrow because she's been *fired* for >this breach of security policy. What kind of security policy requires you to encr

Simplify OpenVPN blob handling

2016-01-24 Thread Matthias Berndt
Hi, I've been thinking about the code that I recently modified. The handle_blob_item function checks if the blob markers (BEGIN CERTIFICATE etc.) are present and returns false without consuming any lines if they're missing. I fail to see the point, why not just copy everything between t

Re: [PATCH] handle tls auth blobs correctly

2016-01-22 Thread Matthias Berndt
Hi Beniamino et al, I have addressed your comments in the attached patches. Cheers, Matthias >From 4c8233ef12eec9787536b9028618e76d188db372 Mon Sep 17 00:00:00 2001 From: Matthias Berndt Date: Fri, 22 Jan 2016 13:52:38 +0100 Subject: [PATCH 1/3] - allow comment lines inside blobs - prev

Re: [PATCH] handle tls auth blobs correctly

2016-01-22 Thread Matthias Berndt
Hi Thomas, Please take a look at the attached patches, I think I've addressed your remarks. Cheers, Matthias>From 4c8233ef12eec9787536b9028618e76d188db372 Mon Sep 17 00:00:00 2001 From: Matthias Berndt Date: Fri, 22 Jan 2016 13:52:38 +0100 Subject: [PATCH 1/3] - allow comment lines insi

[PATCH] handle tls auth blobs correctly

2016-01-22 Thread Matthias Berndt
Matthias >From b78c8887fe4b69a30404ce7dbef0b866743b12f5 Mon Sep 17 00:00:00 2001 From: Matthias Berndt Date: Fri, 22 Jan 2016 00:54:59 +0100 Subject: [PATCH] handle tls-auth blobs correctly --- properties/import-export.c | 45 + 1 file changed, 37 insertions(+), 8 deletion