Skip to content

Setup Overview

finthetechguy edited this page Nov 24, 2026 · 3 revisions

Overview and requirements

This section takes you from nothing to a working exchange with a 3DS. Expect it to take an hour or so the first time, most of it spent dumping files from your console.

What you need

Hardware

  • A computer running Linux.
  • A USB or internal Wi-Fi adapter that supports monitor mode for scanning and frame injection for exchanges. The card cannot stay on your home network while StreetPass is running. See Choosing a Wi-Fi adapter.
  • Your own Nintendo 3DS/2DS family console with custom firmware, to dump the keys from. The consoles you StreetPass with afterwards do not need custom firmware.

Software

  • Rust 1.85 or newer.
  • iw and ip (iproute2).
  • For the desktop app: Python 3.10 or newer, GTK 4, libadwaita 1.7 or newer, PyGObject 3.48 or newer, polkit, and maturin to build the Python module.

Files from your console

File Used for Needed for
aes_keys.txt The hardware key for slot 0x2E (link encryption) and slot 0x31 (Mii records). Exchanging. Slot 0x31 only for reading or building Miis.
StreetPass system module code.bin, decrypted The StreetPass HMAC key that link keys are derived with. Exchanging.
CEC save image or folder Each game's message signing key, and any messages already on the console. Building signed messages, such as Mii Plaza messages. Importing existing messages.

All keys must come from a console you own. ctrpass does not ship any keys.

Safety and privacy

  • While StreetPass is running, ctrpass takes over the Wi-Fi card. Normal Wi-Fi on that card stops until it finishes.
  • ctrpass transmits from a random, locally administered MAC address that it stores with your messages. By default it changes this address and forgets which consoles it has passed every 8 hours, so the same consoles can pass again.
  • Messages you receive come from strangers. They are kept as files in the message folder and are only shown, never run.

Next: Choosing a Wi-Fi adapter

Clone this wiki locally