Skip to content

william1benn/tor_onion_gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tor onion generator

Generate tor url from tor specs

https://github.com/torproject/torspec/blob/12271f0e6db00dee9600425b2de063e02f19c1ee/rend-spec-v3.txt

Torspec onion outline

  • The public key is the 32 bytes ed25519 master pubkey of the hidden service.
  • The checksum is truncated to two bytes before inserting it in onion_address
  • Current default byte value is '\x03' for checksum
  • Configuration of onion_address = base32(PUBKEY | CHECKSUM | VERSION) + ".onion"
  • Configuration of checksum = H(".onion checksum" | PUBKEY | VERSION)[:2]
  • Private key expansion referenced from A.2. Tor's key derivation scheme bitwise operations

Build and run container

  • docker build -t vanitygen:1 .
  • docker run -v local_directory:/onion_dir -e PREFIX="tor" vanityonion:1

find assets in attached volume

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published