mirror of
https://github.com/block/buzz.git
synced 2026-10-30 05:51:46 +00:00
Signed-off-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <wpfleger@block.xyz> Signed-off-by: Will Pfleger <wpfleger@squareup.com> Signed-off-by: Will Pfleger <wpfleger96@gmail.com> Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co> Co-authored-by: npub1fgdl5qqnh3k3f2xkqrvt7cujalhm623x4s7fdjdj5yrtp5fzjl9qrjpucw <4a1bfa0013bc6d14a8d600d8bf6392efefbd2a26ac3c96c9b2a106b0d12297ca@sprout-oss.stage.blox.sqprod.co> Co-authored-by: npub16v54tttfqacx9ycvc3k0ut0npj564ahcuajzy6qjvh57ntmsf4uq4806j2 <d32955ad69077062930cc46cfe2df30ca9aaf6f8e76422681265e9e9af704d78@sprout-oss.stage.blox.sqprod.co> Co-authored-by: Will Pfleger <wpfleger96@gmail.com>
46 lines
1.4 KiB
TOML
46 lines
1.4 KiB
TOML
[package]
|
|
name = "git-sign-nostr"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "NIP-GS git commit/tag signing program using Nostr secp256k1 keys"
|
|
readme = "README.md"
|
|
publish = false # internal workspace tool, not published to crates.io
|
|
|
|
[lib]
|
|
name = "git_sign_nostr"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "git-sign-nostr"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
# Base64 armor encoding/decoding for NIP-GS signature envelopes.
|
|
# Not in workspace deps — each crate pins independently (same pattern as
|
|
# buzz-relay, buzz-cli, git-credential-nostr).
|
|
base64 = "0.22"
|
|
|
|
# Hex encoding for BIP-340 signatures and public keys.
|
|
hex = { workspace = true }
|
|
|
|
# Secret key zeroization on drop.
|
|
zeroize = { workspace = true, features = ["derive"] }
|
|
|
|
# Nostr key parsing (nsec/npub bech32), secp256k1 Schnorr signing, SHA-256.
|
|
# Uses the full default feature set because we need: Keys, PublicKey,
|
|
# FromBech32, and the re-exported bitcoin::secp256k1 + bitcoin::hashes.
|
|
nostr = { workspace = true }
|
|
|
|
# JSON parsing for NIP-OA auth tag and envelope verification.
|
|
serde_json = { workspace = true }
|
|
|
|
# Timestamp formatting for GnuPG VALIDSIG status lines.
|
|
chrono = { workspace = true }
|
|
|
|
# Unix-specific: O_NOFOLLOW for keyfile open, fcntl for fd validation.
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|