Skip to content

v0.1.2 - NIP-46 Bunker Fix

Choose a tag to compare

@ninepointlabs ninepointlabs released this 04 Feb 00:44
· 6 commits to main since this release

Pleb Signer v0.1.2

Bug Fixes

NIP-46 Bunker Listener Fixed

The NIP-46 bunker functionality was not working properly - the listener would start but immediately exit, causing the connection state to return to "Disconnected".

Root Cause: The bunker listener was using tokio::spawn() which doesn't work when the main thread's tokio runtime isn't being actively polled.

Solution: Changed to use std::thread::spawn with a dedicated tokio runtime inside the spawned thread.

Installation

Arch Linux

# Download and install the package directly
curl -LO https://github.com/PlebOne/Pleb_Signer/releases/download/v0.1.2/pleb-signer-0.1.2-1-x86_64.pkg.tar.zst
sudo pacman -U pleb-signer-0.1.2-1-x86_64.pkg.tar.zst

# Or build from PKGBUILD
curl -LO https://github.com/PlebOne/Pleb_Signer/releases/download/v0.1.2/PKGBUILD
makepkg -si

Debian/Ubuntu

curl -LO https://github.com/PlebOne/Pleb_Signer/releases/download/v0.1.2/pleb-signer_0.1.2_amd64.deb
sudo dpkg -i pleb-signer_0.1.2_amd64.deb
sudo apt-get install -f  # Install any missing dependencies

Fedora/RHEL/CentOS

# Download source and spec, then build
curl -LO https://github.com/PlebOne/Pleb_Signer/releases/download/v0.1.2/pleb-signer-0.1.2.tar.gz
curl -LO https://github.com/PlebOne/Pleb_Signer/releases/download/v0.1.2/pleb-signer.spec
rpmbuild -tb pleb-signer-0.1.2.tar.gz
sudo rpm -i ~/rpmbuild/RPMS/x86_64/pleb-signer-0.1.2-1.*.rpm

Binary Install (Any Linux)

curl -LO https://github.com/PlebOne/Pleb_Signer/releases/download/v0.1.2/pleb-signer-0.1.2-x86_64-linux.tar.gz
tar xzf pleb-signer-0.1.2-x86_64-linux.tar.gz
sudo mv pleb-signer /usr/local/bin/

From Source

git clone https://github.com/PlebOne/Pleb_Signer.git
cd Pleb_Signer
cargo build --release
sudo cp target/release/pleb-signer /usr/local/bin/

Testing the Bunker

After starting Pleb Signer, test the bunker via D-Bus:

# Start bunker listener
busctl --user call com.plebsigner.Signer /com/plebsigner/Signer com.plebsigner.Signer1 StartBunker

# Check state (should show WaitingForConnection)
busctl --user call com.plebsigner.Signer /com/plebsigner/Signer com.plebsigner.Signer1 GetBunkerState

# Stop bunker
busctl --user call com.plebsigner.Signer /com/plebsigner/Signer com.plebsigner.Signer1 StopBunker

Package Checksums

See SHA256SUMS file for verification.

Full Changelog

v0.1.1...v0.1.2