[tor-bugs] #33032 [Core Tor/Tor]: Decode key files with Unix or Windows newlines
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Mar 11 02:04:48 UTC 2020
#33032: Decode key files with Unix or Windows newlines
-------------------------------------------------+-------------------------
Reporter: larshilse | Owner: asn
Type: defect | Status:
| reopened
Priority: Medium | Milestone: Tor:
| 0.4.4.x-final
Component: Core Tor/Tor | Version: Tor:
| 0.3.5.8
Severity: Normal | Resolution:
Keywords: Scallion, onion, private key, | Actual Points:
044-should, 035-backport, 041-backport, |
042-backport, 043-backport |
Parent ID: | Points: 0.5
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by larshilse):
Replying to [comment:9 mr_rokman]:
> 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.
Again: thank you very much for the great support!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33032#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list