Back to Key Generator

Using Your Generated Key

Step-by-step guide to apply generated keys to your MeshCore device

📋 Prerequisites

  • Generated Ed25519 key pair from the key generator
  • MeshCore device (companion or repeater)
  • MeshCore mobile app installed on your phone or MeshCore Web App
  • USB-C cable for connecting to your device
  • Computer with internet access (for flashing repeater devices)

🔧 Select Your Device Type

Choose your device type to see the appropriate instructions:

🔧 Companion Device Instructions

Follow these steps to apply your custom key to a companion device:

1

Connect to Your Device

Connect your phone to the MeshCore device using a USB-C cable or Bluetooth.

2

Open MeshCore App

Launch the MeshCore mobile app on your phone and connect to your device.

MeshCore app home screen showing connected device
3

Access Settings

Tap the Settings gear icon in the top-right corner of the app.

MeshCore app with settings gear icon highlighted
4

Manage Identity Key

Scroll down and tap "Manage Identity Key" in the settings menu.

Settings menu with Manage Identity Key option highlighted
5

Enter Private Key

Copy your private key from the key generator and paste it into the text box. Make sure to copy the entire 128-character key.

Private key input field with sample key pasted
Important: Only paste the private key, not the public key. The private key is 128 characters long.
6

Import the Key

Tap "Import Private Key" to apply the key to your device.

Import Private Key button highlighted
7

Save Changes

Tap the checkmark ✓ in the top-right corner to save your changes. This step is crucial - the key won't be applied until you save.

Checkmark save button highlighted in top-right corner
8

Verify the Change

Return to the main screen and verify that your new public key is displayed. The first two characters should match your desired prefix.

Main screen showing new public key with prefix highlighted

📡 Repeater Device Instructions

⚠️ Important: You must temporarily flash companion firmware to import keys on repeater devices.
💡 Alternative Phone-Only Method: nRF52-based devices (RAK, T114, Seeed, XIAO) can be updated over-the-air without a computer using the nRF Device Firmware Update app.

For the simplest process, follow these steps:

1

Connect Your Device

Connect your repeater device to your computer using a USB-C cable.

2

Access the Flasher

Open your web browser and go to https://flasher.meshcore.co.uk/

Select the type of device you are flashing from the list of available firmware options.

MeshCore flasher website homepage
3

Select Companion Firmware

Choose "Companion" firmware from the firmware selection options. Do not select "Repeater" firmware.

Firmware selection screen with Companion option highlighted
4

Flash the Firmware

Follow the on-screen instructions to flash the companion firmware to your device. This process may take a few minutes.

⚠️ Important: Do not select "Erase Device" during the flashing process. This will erase all configuration and require you to set up the device from scratch.
Flashing progress screen
5

Import Your Key

Now that your device has companion firmware, follow these steps to import your custom key:

5a. Connect to Your Device

Connect your phone to the MeshCore device using a USB-C cable or Bluetooth.

5b. Open MeshCore App

Launch the MeshCore mobile app on your phone. The app should automatically detect the connected device.

MeshCore app home screen showing connected device

5c. Access Settings

Tap the Settings gear icon in the top-right corner of the app.

MeshCore app with settings gear icon highlighted

5d. Manage Identity Key

Scroll down and tap "Manage Identity Key" in the settings menu.

Settings menu with Manage Identity Key option highlighted

5e. Enter Private Key

Copy your private key from the key generator and paste it into the text box. Make sure to copy the entire 128-character key.

Private key input field with sample key pasted
Important: Only paste the private key, not the public key. The private key is 128 characters long.

5f. Import the Key

Tap "Import Private Key" to apply the key to your device.

Import Private Key button highlighted

5g. Save Changes

Tap the checkmark ✓ in the top-right corner to save your changes. This step is crucial - the key won't be applied until you save.

Checkmark save button highlighted in top-right corner

5h. Verify the Change

Return to the main screen and verify that your new public key is displayed. The first two characters should match your desired prefix.

Main screen showing new public key with prefix highlighted
6

Re-flash to Repeater Firmware

After successfully importing your key, return to the flasher website and flash the "Repeater" firmware back to your device.

Firmware selection screen with Repeater option highlighted
Important: Your custom key will be preserved after re-flashing to repeater firmware.

📄 JSON Import Method (Alternative)

If you downloaded the JSON file from the key generator, you can use this alternative method:

1

Access Import Config

In the MeshCore app settings, tap "Import Config" instead of "Manage Identity Key".

Settings menu with Import Config option highlighted
2

Select JSON File

Click Select File to open your OS's file picker. Choose your downloaded JSON file from the file picker. The file should be named something like meshcore_FA_1234567890.json.

File picker showing JSON file selection
3

Import Configuration

Tap "Import Config" to import the keys from your JSON file.

Import Config button highlighted
4

Import Success

You'll see a success notification confirming that the configuration has been imported.

Import success notification
5

Verify the Import

Return to the main screen and verify that your new public key is displayed. The first two characters should match your desired prefix.

Main screen showing new public key with prefix highlighted

🔍 Troubleshooting

Common Issues

  • Key not appearing: Make sure you tapped the checkmark ✓ to save changes
  • Wrong key format: Ensure you're copying the entire 128-character private key
  • App not detecting device: Try disconnecting and reconnecting the USB cable
  • Firmware flash fails: Try a different USB cable or USB port
  • Key import fails: Verify the key was generated correctly and try again

Verification Steps

  1. Check that the public key displayed matches your generated key
  2. Verify the first two characters match your desired prefix
  3. Test the connection to ensure the device is working properly
  4. Check the MeshCore network to see your device with the new identifier
Pro Tip: Keep a backup of your private key in a secure location. You'll need it if you ever need to restore your device configuration.

📞 Need Help?

If you encounter issues not covered in this guide: