Skip to main content
Yukari

Public key authentication

A network secret is like a room password: anyone who has it can walk in. Public key authentication goes one step further and checks each device's ID card, so you can be sure a peer or relay server really is who it claims to be.

How public and private keys work (in plain terms)

Each device can hold a matched pair of keys:

  • Private key: Kept only on your device. Never send this to anyone else.
  • Public key: Derived from the private key. Safe to share with friends or paste into another device's peer list.

When two devices connect with Secure Mode enabled, they use these keys to prove their identity without ever sending their private key over the network.

Step 1: Generate a key pair on your device

  1. Open your network settings in Yukari and go to Advanced > Security.
  2. Turn on Secure Mode.
  3. Click Generate new key pair to create a Base64-encoded Node Private Key and Node Public Key.
  4. Save your changes.

Enabling Secure Mode and generating a key pair under Advanced > Security

warning

Back up your private key only in a safe place, and never share it in screenshots or chat messages. If someone gets your private key, they can impersonate your node.

Step 2: Share your public key and add a peer's public key

To verify a specific peer (for example, your own self-hosted node or a friend's server):

  1. Copy the Node Public Key from the remote device.
  2. On your device, edit that peer under Initial Peers (or in Bookmarks).
  3. Paste the key into the Public Key (Optional) field.
  4. Save and restart the network.

Add peer dialog highlighting the optional Public Key field

Step 3: Check verification status

Once connected, open the Peers tab. Yukari shows each peer's verification status so you can tell at a glance whether the peer was authenticated with its public key.

Last updated: 12/2/26, 1:53 PM

Yukari

A cross-platform decentralized networking app built on EasyTier