tomjamescn / tunnelblick

Automatically exported from code.google.com/p/tunnelblick
0 stars 0 forks source link

Line 1 of the file contains a non-printable character (0xFFFFFF82) which is not allowed. #243

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NOTE: We suggest that you post on the Tunnelblick Discussion Group before
submitting an "Issue". (http://groups.google.com/group/tunnelblick-discuss)

What steps will reproduce the problem?
1. client.p12 PKCS#12 file cannot be parsed with 3.3.0
2.
3.

What is the expected output?

I expect it to work, since it's working with 3.2.x and 3.4.x!

What do you see instead?

*Tunnelblick: OS X 10.8.3; Tunnelblick 3.3.0 (build 3518); Admin user

Console Log:

2013-09-18 08:42:52 Tunnelblick[20927] Renamed existing preferences from 
com.openvpn.tunnelblick.plist to net.tunnelblick.tunnelblick.plist
2013-09-18 08:42:52 Tunnelblick[20927] Created a symbolic link from old 
preferences at 
/Users/susanneaseng/Library/Preferences/com.openvpn.tunnelblick.plist to 
net.tunnelblick.tunnelblick.plist
2013-09-18 08:42:52 Tunnelblick[20927] Made the symbolic link read-only at 
/Users/susanneaseng/Library/Preferences/com.openvpn.tunnelblick.plist
2013-09-18 08:42:52 Tunnelblick[20927] Created a symbolic link to 
/Users/susanneaseng/Library/Application Support/Tunnelblick/Configurations at 
/Users/susanneaseng/Library/openvpn
2013-09-18 08:43:16 Tunnelblick[20927] Tunnelblick cannot run when it is on 
/Volumes because the volume has the MNT_NOSUID statfs flag set.
2013-09-18 08:43:39 Tunnelblick[20927] Beginning installation or repair
2013-09-18 08:43:39 authexec[20941] executing 
/Volumes/Tunnelblick/Tunnelblick.app/Contents/Resources/installer
2013-09-18 08:43:40 Tunnelblick[20927] Installation or repair succeeded; Log:
                                       Tunnelblick installer started 2013-09-18 08:43:39. 1 arguments: 0x003f
                                       Created directory /Library/Application Support/Tunnelblick with owner 0:80 and permissions 755
                                       Changed ownership of /Library/Application Support/Tunnelblick to 0:0
                                       Created directory /Library/Application Support/Tunnelblick/Logs with owner 0:0 and permissions 755
                                       Created directory /Library/Application Support/Tunnelblick/Shared with owner 0:0 and permissions 755
                                       Created directory /Library/Application Support/Tunnelblick/Users with owner 0:0 and permissions 750
                                       Created directory /Library/Application Support/Tunnelblick/Users/susanneaseng with owner 0:0 and permissions 750
                                       Changed ownership of /Users/susanneaseng/Library/Application Support/Tunnelblick to 502:80
                                       Changed permissions from 755 to 750 on /Users/susanneaseng/Library/Application Support/Tunnelblick
                                       Changed ownership of /Users/susanneaseng/Library/Application Support/Tunnelblick/Configurations to 502:80

                                       Beginning conversion of .ovpn and .conf configurations to .tblk configurations...
                                       Created directory /Users/susanneaseng/Library/Application Support/Tunnelblick/NewConfigurations with owner 0:80 and permissions 750
                                       Changed ownership of /Users/susanneaseng/Library/Application Support/Tunnelblick/NewConfigurations to 502:80
                                       Created directory /Users/susanneaseng/Library/Application Support/Tunnelblick/NewConfigurations/hidrive.strato.com.tblk with owner 0:80 and permissions 750
                                       Created directory /Users/susanneaseng/Library/Application Support/Tunnelblick/NewConfigurations/hidrive.strato.com.tblk/Contents with owner 0:80 and permissions 750
                                       Created directory /Users/susanneaseng/Library/Application Support/Tunnelblick/NewConfigurations/hidrive.strato.com.tblk/Contents/Resources with owner 0:80 and permissions 750
                                       Changed ownership of /Users/susanneaseng/Library/Application Support/Tunnelblick/NewConfigurations/hidrive.strato.com.tblk/Contents/Resources to 502:80
                                       hidrive.strato.com.ovpn line 6: Copied ca.drive.strato.com.crt
                                       Changed permissions from 755 to 640 on /Users/susanneaseng/Library/Application Support/Tunnelblick/NewConfigurations/hidrive.strato.com.tblk/Contents/Resources/ca.drive.strato.com.crt
                                       hidrive.strato.com.ovpn line 7: Copied tls-auth.key
                                       Changed permissions from 755 to 640 on /Users/susanneaseng/Library/Application Support/Tunnelblick/NewConfigurations/hidrive.strato.com.tblk/Contents/Resources/tls-auth.key
                                       hidrive.strato.com.ovpn: Converted OpenVPN configuration
                                       Conversion of .ovpn and .conf configurations to .tblk configurations succeeded

                                       Moved /Applications/Tunnelblick.app to the Trash
                                       Copied /Volumes/Tunnelblick/Tunnelblick.app to /Applications/Tunnelblick.app
                                       Changed ownership of /Applications/Tunnelblick.app and its contents to 0:0
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/atsystemstart
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/installer
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/leasewatch
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/leasewatch3
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/process-network-changes
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/standardize-scutil-output
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh
                                       Changed permissions from 644 to 744 on /Applications/Tunnelblick.app/Contents/Resources/client.route-pre-down.tunnelblick.sh
                                       Changed permissions from 644 to 744 on /Applications/Tunnelblick.app/Contents/Resources/client.1.up.tunnelblick.sh
                                       Changed permissions from 644 to 744 on /Applications/Tunnelblick.app/Contents/Resources/client.1.down.tunnelblick.sh
                                       Changed permissions from 644 to 744 on /Applications/Tunnelblick.app/Contents/Resources/client.2.up.tunnelblick.sh
                                       Changed permissions from 644 to 744 on /Applications/Tunnelblick.app/Contents/Resources/client.2.down.tunnelblick.sh
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/client.3.up.tunnelblick.sh
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/client.3.down.tunnelblick.sh
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.2.1/openvpn-down-root.so
                                       Changed permissions from 755 to 744 on /Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.3.2/openvpn-down-root.so
                                       Changed permissions from 755 to 4555 on /Applications/Tunnelblick.app/Contents/Resources/openvpnstart
                                       Created shadow copy of /Users/susanneaseng/Library/Application Support/Tunnelblick/Configurations/hidrive.strato.com.tblk
                                       Changed ownership of the contents of /Users/susanneaseng/Library/Application Support/Tunnelblick/Configurations to 502:80
                                       Changed ownership of the contents of /Library/Application Support/Tunnelblick/Users/susanneaseng to 0:0
                                       Changed permissions from 640 to 600 on /Library/Application Support/Tunnelblick/Users/susanneaseng/hidrive.strato.com.tblk/Contents/Resources/ca.drive.strato.com.crt
                                       Changed permissions from 640 to 600 on /Library/Application Support/Tunnelblick/Users/susanneaseng/hidrive.strato.com.tblk/Contents/Resources/config.ovpn
                                       Changed permissions from 640 to 600 on /Library/Application Support/Tunnelblick/Users/susanneaseng/hidrive.strato.com.tblk/Contents/Resources/tls-auth.key
2013-09-18 08:43:50 Tunnelblick[20927] applicationShouldTerminate: termination 
because of Quit; delayed until 'shutdownTunnelblick' finishes
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: shutDownTunnelblick: started.
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: shutDownTunnelblick: Starting 
cleanup.
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: Cleanup: Entering cleanup
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: Cleanup: Setting 
callDelegateOnNetworkChange: NO
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: Cleanup: Will 
killAllConnectionsIncludingDaemons: NO
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: 
killAllConnectionsIncludingDaemons: has checked for active daemons
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: includeDaemons = 0; 
noUnknownOpenVPNsRunning = 0; noActiveDaemons = 1; noDownRootsActive = 1 
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: 
killAllConnectionsIncludingDaemons: will kill individually
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: Cleanup: Unloading kexts
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: Cleanup: Deleting logs
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: shutDownTunnelblick: Cleanup 
finished.
2013-09-18 08:43:50 Tunnelblick[20927] Finished shutting down Tunnelblick; 
allowing termination
2013-09-18 08:43:50 Tunnelblick[20927] DEBUG: applicationWillTerminate: invoked
2013-09-18 08:44:55 Tunnelblick[20949] Set program update feedURL to 
http://tunnelblick.net/appcast.rss
2013-09-18 08:45:04 Tunnelblick[20949] Copied easy-rsa
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 700 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/build-ca
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/build-dh
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/build-inter
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/build-key
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application 
Support/Tunnelblick/easy-rsa/build-key-pass
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application 
Support/Tunnelblick/easy-rsa/build-key-pkcs12
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application 
Support/Tunnelblick/easy-rsa/build-key-server
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/build-req
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application 
Support/Tunnelblick/easy-rsa/build-req-pass
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/clean-all
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application 
Support/Tunnelblick/easy-rsa/inherit-inter
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 700 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/keys
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/list-crl
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 644 to 600 on 
/Users/susanneaseng/Library/Application 
Support/Tunnelblick/easy-rsa/openssl-0.9.6.cnf
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 644 to 600 on 
/Users/susanneaseng/Library/Application 
Support/Tunnelblick/easy-rsa/openssl-0.9.8.cnf
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 644 to 600 on 
/Users/susanneaseng/Library/Application 
Support/Tunnelblick/easy-rsa/openssl-1.0.0.cnf
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/pkitool
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 644 to 400 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/README
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/revoke-full
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/sign-req
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 644 to 400 on 
/Users/susanneaseng/Library/Application 
Support/Tunnelblick/easy-rsa/TB-version.txt
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 600 on 
/Users/susanneaseng/Library/Application Support/Tunnelblick/easy-rsa/vars
2013-09-18 08:45:04 Tunnelblick[20949] Changed permissions from 755 to 500 on 
/Users/susanneaseng/Library/Application 
Support/Tunnelblick/easy-rsa/whichopensslcnf
2013-09-18 08:45:13 Tunnelblick[20949] DEBUG: Updater: systemVersion 10.8.3 
satisfies minimumSystemVersion 10.4.0
2013-09-18 08:45:13 Tunnelblick[20949] DEBUG: Updater: systemVersion 10.8.3 
satisfies minimumSystemVersion 10.4.0
2013-09-18 08:52:55 Tunnelblick[20949] applicationShouldTerminate: termination 
because of Quit; delayed until 'shutdownTunnelblick' finishes
2013-09-18 08:52:55 Tunnelblick[20949] DEBUG: shutDownTunnelblick: started.
2013-09-18 08:52:55 Tunnelblick[20949] DEBUG: shutDownTunnelblick: Starting 
cleanup.
2013-09-18 08:52:55 Tunnelblick[20949] DEBUG: Cleanup: Entering cleanup
2013-09-18 08:52:55 Tunnelblick[20949] DEBUG: Cleanup: Setting 
callDelegateOnNetworkChange: NO
2013-09-18 08:52:55 Tunnelblick[20949] DEBUG: Cleanup: Unloading kexts
2013-09-18 08:52:56 Tunnelblick[20949] DEBUG: Cleanup: Deleting logs
2013-09-18 08:52:56 Tunnelblick[20949] DEBUG: Cleanup: Removing status bar item
2013-09-18 08:52:56 Tunnelblick[20949] DEBUG: Cleanup: Unregistering 
hotKeyEventHandler
2013-09-18 08:52:56 Tunnelblick[20949] DEBUG: shutDownTunnelblick: Cleanup 
finished.
2013-09-18 08:52:56 Tunnelblick[20949] Finished shutting down Tunnelblick; 
allowing termination
2013-09-18 08:52:56 Tunnelblick[20949] DEBUG: applicationWillTerminate: invoked
2013-09-18 08:53:09 Tunnelblick[20991] Set program update feedURL to 
http://tunnelblick.net/appcast.rss
2013-09-18 08:53:10 Tunnelblick[20991] DEBUG: Updater: systemVersion 10.8.3 
satisfies minimumSystemVersion 10.4.0
2013-09-18 08:53:10 Tunnelblick[20991] DEBUG: Updater: systemVersion 10.8.3 
satisfies minimumSystemVersion 10.4.0
2013-09-18 08:54:00 Tunnelblick[20991] openvpnstart status from 
compareShadowCopy: 251
2013-09-18 08:55:54 Tunnelblick[20991] openvpnstart status from 
compareShadowCopy: 251
2013-09-18 09:02:36 Tunnelblick[20991] Error in client.p12 (referenced in 
charite vpn.tblk): Line 1 of the file contains a non-printable character 
(0xFFFFFF82) which is not allowed.
2013-09-18 09:02:55 Tunnelblick[20991] Error in client.p12 (referenced in 
charite vpn.tblk): Line 1 of the file contains a non-printable character 
(0xFFFFFF82) which is not allowed.
2013-09-18 09:04:09 Tunnelblick[20991] Error in client.p12 (referenced in 
charite vpn.tblk): Line 1 of the file contains a non-printable character 
(0xFFFFFF82) which is not allowed.
2013-09-18 09:05:00 Tunnelblick[20991] applicationShouldTerminate: termination 
because of Quit; delayed until 'shutdownTunnelblick' finishes
2013-09-18 09:05:00 Tunnelblick[20991] DEBUG: shutDownTunnelblick: started.
2013-09-18 09:05:00 Tunnelblick[20991] DEBUG: shutDownTunnelblick: Starting 
cleanup.
2013-09-18 09:05:00 Tunnelblick[20991] DEBUG: Cleanup: Entering cleanup
2013-09-18 09:05:00 Tunnelblick[20991] DEBUG: Cleanup: Setting 
callDelegateOnNetworkChange: NO
2013-09-18 09:05:00 Tunnelblick[20991] DEBUG: Cleanup: Unloading kexts
2013-09-18 09:05:00 Tunnelblick[20991] DEBUG: Cleanup: Deleting logs
2013-09-18 09:05:00 Tunnelblick[20991] DEBUG: Cleanup: Removing status bar item
2013-09-18 09:05:00 Tunnelblick[20991] DEBUG: Cleanup: Unregistering 
hotKeyEventHandler

2013-09-18 09:05:00 Tunnelblick[20991] DEBUG: shutDownTunnelblick: Cleanup 
finished.
2013-09-18 09:05:00 Tunnelblick[20991] Finished shutting down Tunnelblick; 
allowing termination
2013-09-18 09:05:00 Tunnelblick[20991] DEBUG: applicationWillTerminate: invoked
2013-09-18 09:05:49 Tunnelblick[21076] Set program update feedURL to 
http://tunnelblick.net/appcast.rss
2013-09-18 09:05:49 Tunnelblick[21076] DEBUG: Updater: systemVersion 10.8.3 
satisfies minimumSystemVersion 10.4.0
2013-09-18 09:05:49 Tunnelblick[21076] DEBUG: Updater: systemVersion 10.8.3 
satisfies minimumSystemVersion 10.4.0
2013-09-18 09:06:14 Tunnelblick[21080] Tunnelblick cannot run when it is on 
/Volumes because the volume has the MNT_NOSUID statfs flag set.
2013-09-18 09:06:21 Tunnelblick[21080] The Tunnelblick installation was 
cancelled by the user.
2013-09-18 09:06:21 Tunnelblick[21080] applicationShouldTerminate: termination 
because of Quit; delayed until 'shutdownTunnelblick' finishes
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: shutDownTunnelblick: started.
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: shutDownTunnelblick: Starting 
cleanup.
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: Cleanup: Entering cleanup
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: Cleanup: Setting 
callDelegateOnNetworkChange: NO
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: Cleanup: Will 
killAllConnectionsIncludingDaemons: NO
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: 
killAllConnectionsIncludingDaemons: has checked for active daemons
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: includeDaemons = 0; 
noUnknownOpenVPNsRunning = 0; noActiveDaemons = 1; noDownRootsActive = 1 
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: 
killAllConnectionsIncludingDaemons: will kill individually
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: Cleanup: Unloading kexts
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: Cleanup: Deleting logs
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: shutDownTunnelblick: Cleanup 
finished.
2013-09-18 09:06:21 Tunnelblick[21080] Finished shutting down Tunnelblick; 
allowing termination
2013-09-18 09:06:21 Tunnelblick[21080] DEBUG: applicationWillTerminate: invoked
2013-09-18 09:08:12 Tunnelblick[21076] Error in client.p12 (referenced in 
charite vpn.tblk): Line 1 of the file contains a non-printable character 
(0xFFFFFF82) which is not allowed.

What version of Tunnelblick are you using? On what version of OS X?

Please provide any additional information below. Please include your
configuration file and the contents of the OpenVPN Log window (including
the first few lines with version information), but remember to remove any
sensitive information such as IP addresses.

Original issue reported on code.google.com by ralf.hil...@gmail.com on 16 Dec 2013 at 1:01

GoogleCodeExporter commented 9 years ago
Additional checks were added in 3.3, including this one, and there was a bug in 
the code that does the checking. That's why the problem does not occur in 3.2, 
but does in 3.3.

The bug was fixed last July in the 3.3 source code (as r2530) and the 3.4 
source code (as r2532).

The 3.4beta02 and higher releases include the fix

There have been no 3.3 releases that include the fix, and there are no current 
plans for a new 3.3 release that would include the fix.

Original comment by jkbull...@gmail.com on 16 Dec 2013 at 1:26

GoogleCodeExporter commented 9 years ago
Ah ok, but isn't the point of a stable version to incorporate fixes?

It's a bit hard to tell the users to "use the latest beta", when the latest 
beta is (as it should be!) changing all the time...

Original comment by ralf.hil...@gmail.com on 16 Dec 2013 at 1:29

GoogleCodeExporter commented 9 years ago
The stable   _source_code_   incorporates the fixes.

I generally only create a new stable release when it will contain important 
security-related fixes or fixes that affect many users; neither is the case 
with version 3.3, in my opinion.

Tunnelblick betas usually work OK -- most problems have to do with new 
features, so if you don't use the new features, you don't have a problem.

Original comment by jkbull...@gmail.com on 16 Dec 2013 at 1:48