Opened 4 weeks ago

Closed 2 weeks ago

Last modified 8 days ago

#33032 closed defect (worksforme)

Private keys from Scallion vanity .onion not working

Reported by: larshilse Owned by: asn
Priority: Medium Milestone: Tor: 0.4.3.x-final
Component: Core Tor/Tor Version: Tor: 0.3.5.8
Severity: Major Keywords: Scallion, onion, private key
Cc: dgoulet, asn Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

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_serviceprivate_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?

Child Tickets

Attachments (2)

private_key (887 bytes) - added by asn 2 weeks ago.
scallion private key (working)
hostname (23 bytes) - added by asn 2 weeks ago.
scallion hostname (working)

Download all attachments as: .zip

Change History (10)

comment:1 Changed 4 weeks ago by nickm

Cc: dgoulet asn added
Keywords: 043-should 035-backport 041-backport 042-backport added; removed
Milestone: Tor: 0.4.3.x-final

comment:2 Changed 3 weeks ago by ahf

Owner: set to asn
Status: newassigned

Assigning this HS ticket to asn. Feel free to reorganize the ownership if David is a better choice here for example.

comment:3 Changed 3 weeks ago by asn

Hm, I can't reproduce with the scallion keys found in the README with tor master or with tor 0.3.5.8.

Is it possible you give me a scallion key directory that doesn't work for you, so that I can try to reproduce?

Thanks!

comment:4 Changed 3 weeks ago by larshilse

It's in

Jan 23 00:29:34.000 [warn] Unable to decode private key from file "/var/lib/tor/hidden_serviceprivate_key"

for me. I did just notice that the slash before "private_key" is missing. Are you getting the same issue?

Also, I could send you my scallion.exe - perhaps that helps?

comment:5 Changed 3 weeks ago by larshilse

I tested the PK in multiple ways.

  1. took the file itself and introduced it; thought permission issues were the case.
  2. generated new key and hostname > then c&p the content of the old keys into it

still the problem persisted.

comment:6 Changed 3 weeks ago by asn

Yes the slash should not be missing.

Can you please generate a new key and hostname and attach it to this ticket?

Thanks!

Changed 2 weeks ago by asn

Attachment: private_key added

scallion private key (working)

Changed 2 weeks ago by asn

Attachment: hostname added

scallion hostname (working)

comment:7 Changed 2 weeks ago by asn

Resolution: worksforme
Status: assignedclosed

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!

comment:8 Changed 8 days ago by teor

Keywords: 043-should 035-backport 041-backport 042-backport removed
Note: See TracTickets for help on using tickets.