Download the PHP package decent-newsroom/signing-bundle without Composer
On this page you can find all versions of the php package decent-newsroom/signing-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download decent-newsroom/signing-bundle
More information about decent-newsroom/signing-bundle
Files in decent-newsroom/signing-bundle
Package signing-bundle
Short Description Server-side Nostr signing orchestration for extension, relay AUTH, and NIP-46 bunker flows.
License MIT
Homepage https://github.com/decent-newsroom/signing-bundle
Informations about the package signing-bundle
Signing Bundle
A Symfony bundle for Nostr Connect, NIP-46 remote signing, and NIP-42 relay AUTH signing.
Requirements
- PHP 8.3 or later
ext-ctype,ext-gmp,ext-intl,ext-json,ext-openssl, andext-sodium- A host implementation of
RemoteSignerSessionStoreInterface
The host store must encrypt client private keys at rest, scope each session to its subject pubkey, enforce the requested TTL, remove sessions on logout, and never log private key material.
Installation
Register the bundle in config/bundles.php:
Import its routes:
Configuration
Required host services
RemoteSignerSessionStoreInterface is intentionally storage-agnostic, so the
host can use its chosen cache or persistence system.
Supported flows
- NIP-07 extension publishing: the host accepts and verifies already-signed events.
- NIP-46 bunker signing: the bundle stores a host-owned remote signer session
after pairing, sends encrypted
sign_eventrequests, and validates responses. - NIP-42 relay AUTH: the host can use
RelayAuthSignerInterfacefor signed kind22242events, with any browser fallback remaining host-owned.
Testing
Docker
The committed Dockerfile provides an isolated PHP 8.3 test environment with
the required GMP and Intl extensions. It resolves package dependencies for the
supported PHP version and runs the test suite during the image build:
Run the tests again from the built image with:
License
MIT. See LICENSE.
All versions of signing-bundle with dependencies
decent-newsroom/nostr-client-bundle Version ^0.1.0
endroid/qr-code Version ^6.0
ext-ctype Version *
ext-gmp Version *
ext-json Version *
ext-openssl Version *
ext-sodium Version *
innis/nostr-core Version ^0.3.17
psr/log Version ^3.0
symfony/config Version ^7.4
symfony/dependency-injection Version ^7.4
symfony/framework-bundle Version ^7.4
symfony/http-foundation Version ^7.4
symfony/routing Version ^7.4
symfony/uid Version ^7.4