Date: Wed, 19 Jul 2017 18:41:26 -0700 From: Gregory Sloop Reply-To: Greg Sloop Message-ID: <625907428.20170719184126@...1934...> In-Reply-To: <3cc66768-4fb0-108c-433d-85599295ed7f@...1435...> References: <82384304.20170718084649@...1934...> <3cc66768-4fb0-108c-433d-85599295ed7f@...1435...> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----------0150F31B63DE4F769" Subject: Re: [Openvpn-devel] iOS key decrypts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Steffan Karger , openvpn-devel@lists.sourceforge.net ------------0150F31B63DE4F769 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =0D SK> Hi, SK> On 18-07-17 17:46, Gregory Sloop wrote: >> Does anyone know definitively what key encryptions/decryptions the iOS >> client will properly handle? [And if there's any difference using unfied >> vs non-unified setups.] SK> The iOS client is not part of the current community development, but SK> maintained by OpenVPN Technologies. You could try to get in touch with SK> them. SK> That said, I see no reason why it could not support AES-encrypted keys. SK> The 2.x community code base even uses AES-encrypted test keys (PEM, not SK> PKCS12), and those work with both OpenSSL and mbed TLS crypto backends SK> (just tested as for back as PolarSSL 1.2, but earlier versions probably SK> too). SK> -Steffan Thanks. Yeah, these same unified configs with the AES-256 encrypted keys work just = fine on the Windows and OSX versions of OpenVPN/TunnelBlick. Thus I expecte= d them to work without issue on iOS. [Exact same config installed fine on O= SX for the same client.] My problem at the moment is I don't have an iOS device where I can easily t= est, and this client is more than an hour away from me physically - so "tes= ting" isn't very easy. [They're a very non-tech savvy client.] So, I hate to try to "test" on this client - by sending several different u= nified configs with different key encryptions, hoping to luck onto the righ= t combination. --- Perhaps another line of thought. The unified config I sent looks like this --- client dev tun proto udp resolv-retry infinite nobind persist-key persist-tun cipher aes-256-cbc auth sha256 remote-cert-tls server verb 3 remote 1.2.3.4 1194 --- Most examples have the order different - ca - cert - key. Could this have any impact? [Seems totally NUTS if it does - but I'm graspi= ng at straws a bit.... [I like them in this order because the ca doesn't change for each client-ma= chine, but obviously the cert/key do - and having them at the top is just a= bit easier.] I'll see if I can dig up an iOS device to test with, but if anyone really w= ants to kill some time and check it for me - I'd be eternally grateful. :) -Greg ---= ------------0150F31B63DE4F769 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Re: [Openvpn-devel] iOS key decrypts


SK> Hi,

SK> On 18-07-17 17:46, Gregory Sloop wrote:
>> Does anyone know definitively what key encryptions/decryptions the= iOS
>> client will properly handle? [And if there's any difference using = unfied
>> vs non-unified setups.]

SK> The iOS client is not part of the current community development, but=
SK> maintained by OpenVPN Technologies.  You could try to get in to= uch with
SK> them.

SK> That said, I see no reason why it could not support AES-encrypted ke= ys.
SK> The 2.x community code base even uses AES-encrypted test keys (PEM, = not
SK> PKCS12), and those work with both OpenSSL and mbed TLS crypto backen= ds
SK> (just tested as for back as PolarSSL 1.2, but earlier versions proba= bly
SK> too).

SK> -Steffan

Thanks.

Yeah, these same unified configs with the AES-256 encrypted keys work just = fine on the Windows and OSX versions of OpenVPN/TunnelBlick. Thus I expecte= d them to work without issue on iOS. [Exact same config installed fine on O= SX for the same client.]

My problem at the moment is I don't have an iOS device where I can easily t= est, and this client is more than an hour away from me physically - so "tes= ting" isn't very easy. [They're a very non-tech savvy client.]

So, I hate to try to "test" on this client - by sending several different u= nified configs with different key encryptions, hoping to luck onto the righ= t combination.

---
Perhaps another line of thought.
The unified config I sent looks like this
---
client
dev tun
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-256-cbc
auth sha256
remote-cert-tls server
verb 3
remote 1.2.3.4 1194

<cert>
</cert>

<key>
</key>

<ca>
</ca>

---
Most examples have the order different - ca - cert - key.
Could this have any impact? [Seems totally NUTS if it does - but I'm graspi= ng at straws a bit....

[I like them in this order because the ca doesn't change for each client-ma= chine, but obviously the cert/key do - and having them at the top is just a= bit easier.]

I'll see if I can dig up an iOS device to test with, but if anyone really w= ants to kill some time and check it for me - I'd be eternally grateful. :)<= br>
-Greg


--= -
= ------------0150F31B63DE4F769--