In my case culprit was the line endings in PEM, lines were terminated Windows-style - {CR}{LF}. Changed them to {LF} and keys were read just fine.
After the upgrade to v 0.3.5.8 my onion wasn't available anymore.
This is the info I get when attempting to start tor:
Jan 23 00:29:34.000 [warn] Error decoding PEM wrapper while reading private key
Jan 23 00:29:34.000 [warn] Unable to decode private key from file "/var/lib/tor/hidden_service//private_key"
Jan 23 00:29:34.000 [err] Error loading private key.
Jan 23 00:29:34.000 [warn] Error loading rendezvous service keys
Jan 23 00:29:34.000 [err] set_options(): Bug: Acting on config options left us in a broken state. Dying. (on Tor 0.3.5.8 )
Jan 23 00:29:34.000 [err] Reading config failed--see warnings above.
More users are having the same issue, that their Scallion generated keys cannot be read by the most recent version of TOR.
Any ideas?
Trac: Username: larshilse
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
Hello, I can't replicate the bug. I downloaded scallion for Windows and generated the hostname and private keey that I attached above. I managed to start tor 0.4.3 with it just fine.
Please make sure that this is not a problem with your torrc and if you are positive feel free to reopen the ticket with more info.
Thanks!
Trac: Status: assigned to closed Resolution: N/Ato worksforme
I've had a similar problem while migrating relay keys from Windows to Debian. Same message "Error decoding PEM wrapper while reading private key". In my case culprit was the line endings in PEM, lines were terminated Windows-style - {CR}{LF}. Changed them to {LF} and keys were read just fine.
Trac: Keywords: N/Adeleted, 041-backport, 042-backport, 043-backport, 044-should, 035-backport added Points: N/Ato 0.5 Summary: Private keys from Scallion vanity .onion not working to Decode key files with Unix or Windows newlines Description: After the upgrade to v 0.3.5.8 my onion wasn't available anymore.
This is the info I get when attempting to start tor:
Jan 23 00:29:34.000 [warn] Error decoding PEM wrapper while reading private key
Jan 23 00:29:34.000 [warn] Unable to decode private key from file "/var/lib/tor/hidden_service//private_key"
Jan 23 00:29:34.000 [err] Error loading private key.
Jan 23 00:29:34.000 [warn] Error loading rendezvous service keys
Jan 23 00:29:34.000 [err] set_options(): Bug: Acting on config options left us in a broken state. Dying. (on Tor 0.3.5.8 )
Jan 23 00:29:34.000 [err] Reading config failed--see warnings above.
More users are having the same issue, that their Scallion generated keys cannot be read by the most recent version of TOR.
Any ideas?
to
Update:
In my case culprit was the line endings in PEM, lines were terminated Windows-style - {CR}{LF}. Changed them to {LF} and keys were read just fine.
After the upgrade to v 0.3.5.8 my onion wasn't available anymore.
This is the info I get when attempting to start tor:
Jan 23 00:29:34.000 [warn] Error decoding PEM wrapper while reading private key
Jan 23 00:29:34.000 [warn] Unable to decode private key from file "/var/lib/tor/hidden_service//private_key"
Jan 23 00:29:34.000 [err] Error loading private key.
Jan 23 00:29:34.000 [warn] Error loading rendezvous service keys
Jan 23 00:29:34.000 [err] set_options(): Bug: Acting on config options left us in a broken state. Dying. (on Tor 0.3.5.8 )
Jan 23 00:29:34.000 [err] Reading config failed--see warnings above.
More users are having the same issue, that their Scallion generated keys cannot be read by the most recent version of TOR.
Any ideas? Milestone: Tor: 0.4.3.x-final to Tor: 0.4.4.x-final Severity: Major to Normal Status: closed to reopened Resolution: worksforme toN/A
Hello, I can't replicate the bug. I downloaded scallion for Windows and generated the hostname and private keey that I attached above. I managed to start tor 0.4.3 with it just fine.
Please make sure that this is not a problem with your torrc and if you are positive feel free to reopen the ticket with more info.
Thanks!
Works in Microsoft Word as well as in v 0.4.3 ;-) It was there all of a sudden in aforementioned version. I probably upgraded. Turns out it was the line endings.
I've had a similar problem while migrating relay keys from Windows to Debian. Same message "Error decoding PEM wrapper while reading private key". In my case culprit was the line endings in PEM, lines were terminated Windows-style - {CR}{LF}. Changed them to {LF} and keys were read just fine.
Thank you good sir! That was it. No idea why that would happen all of a sudden and without me (knowingly) changing anything on the system. Must have been an update/upgrade I made.