Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65850 - [networkmanager-openvpn] Can't import OpenVPN configuration (can't detect key)

Attached to Project: Arch Linux
Opened by Anurak Jannawan (be99inner) - Monday, 16 March 2020, 06:47 GMT
Last edited by freswa (frederik) - Monday, 16 March 2020, 15:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 4
Private No

Details

Description:
Network Manager can't import OpenVPN configuration file.
when you import configuration, NetworkManager can't find key of client.

Additional info:
* package version(s): extra/networkmanager-openvpn 1.8.12-1
* openvpn farmat.

```
client
dev tun
proto udp
remote openvpn.sample.host.com 1194
resolv-retry infinite
nobind
remote-cert-tls server
tls-version-min 1.2
verify-x509-name exmaple-name name
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
-----END ENCRYPTED PRIVATE KEY-----
</key>
<tls-crypt>
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
</tls-crypt>
```

Steps to reproduce:
* Add new VPN.
* Import from file.
* Click import OpenVPN file
This task depends upon

Comment by Anurak Jannawan (be99inner) - Thursday, 26 March 2020, 07:12 GMT
I try to separate private and add manually add a private key to network manager setting,

First time, It's work on. But next time it's won't work because private key is lost from setting.
Comment by Manu (manujs) - Thursday, 26 March 2020, 10:17 GMT
I can also reproduce this behavior, as the private key option is forgotten, one cannot modify other VPN settings until a private key is re-added each time.
Comment by Anatoly Bashmakov (abashmakov) - Friday, 08 May 2020, 22:23 GMT
Seems like this behavior started with libnma version 1.8.28. Rolling back libnma to version 1.8.24 fixes the issue for me.

Loading...