bip322
Implements BIP322 generic message signing and verification
Activity
- Latest release
- 1mo ago
- Total releases
- 12
- Cadence
- ~11 days
- Last 12 months
- 2
Reach
- Stars
- 30
Details
- License
- CC0-1.0
- First release
- Jul 22, 2024
| Version | Released | |
|---|---|---|
0.0.12
patch
|
0.0.12
patch
Dependencies (7)
Changelog
Compare changes
|
|
0.0.11
patch
|
0.0.11
patch
Dependencies (7)
Changelog
Compare changes
|
|
0.0.10
patch
yanked
1 CVE
RUSTSEC-2026-0334
GHSA-5chw-87w3-j9cv
Aug 14, 2026
BIP-322 address ownership verification bypass for P2WPKH and P2SH-P2WPKH addresses
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
Affected versions of In
Since As a result, an attacker could select any victim P2WPKH or P2SH-P2WPKH address, construct the BIP-322 challenge for that address and message, sign it with their own unrelated private key, and have the proof accepted. No victim key or victim interaction was required. Application-level nonces do not mitigate this, since the attacker can construct and sign the current challenge message with their own key. P2TR verification is not affected: the public key is derived from the address's witness program rather than from the caller-controlled witness. The flaw was corrected in commit
e8accbe
by deriving the expected scriptPubKey from the witness public key
( There is no known workaround that mitigates the vulnerability. Upgrading to version 0.0.11 is the recommended course of action. Fixed in
0.0.11
References Updated Oct 09, 2026 · Source: OSV.dev |
0.0.10
patch
yanked
Dependencies (7)
Changelog
Compare changes
|
|
0.0.9
patch
yanked
1 CVE
RUSTSEC-2026-0334
GHSA-5chw-87w3-j9cv
Aug 14, 2026
BIP-322 address ownership verification bypass for P2WPKH and P2SH-P2WPKH addresses
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
Affected versions of In
Since As a result, an attacker could select any victim P2WPKH or P2SH-P2WPKH address, construct the BIP-322 challenge for that address and message, sign it with their own unrelated private key, and have the proof accepted. No victim key or victim interaction was required. Application-level nonces do not mitigate this, since the attacker can construct and sign the current challenge message with their own key. P2TR verification is not affected: the public key is derived from the address's witness program rather than from the caller-controlled witness. The flaw was corrected in commit
e8accbe
by deriving the expected scriptPubKey from the witness public key
( There is no known workaround that mitigates the vulnerability. Upgrading to version 0.0.11 is the recommended course of action. Fixed in
0.0.11
References Updated Oct 09, 2026 · Source: OSV.dev | ||
0.0.8
patch
yanked
1 CVE
RUSTSEC-2026-0334
GHSA-5chw-87w3-j9cv
Aug 14, 2026
BIP-322 address ownership verification bypass for P2WPKH and P2SH-P2WPKH addresses
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
Affected versions of In
Since As a result, an attacker could select any victim P2WPKH or P2SH-P2WPKH address, construct the BIP-322 challenge for that address and message, sign it with their own unrelated private key, and have the proof accepted. No victim key or victim interaction was required. Application-level nonces do not mitigate this, since the attacker can construct and sign the current challenge message with their own key. P2TR verification is not affected: the public key is derived from the address's witness program rather than from the caller-controlled witness. The flaw was corrected in commit
e8accbe
by deriving the expected scriptPubKey from the witness public key
( There is no known workaround that mitigates the vulnerability. Upgrading to version 0.0.11 is the recommended course of action. Fixed in
0.0.11
References Updated Oct 09, 2026 · Source: OSV.dev |
0.0.8
patch
yanked
Dependencies (6)
Changelog
Compare changes
|
|
0.0.7
patch
yanked
1 CVE
RUSTSEC-2026-0334
GHSA-5chw-87w3-j9cv
Aug 14, 2026
BIP-322 address ownership verification bypass for P2WPKH and P2SH-P2WPKH addresses
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
Affected versions of In
Since As a result, an attacker could select any victim P2WPKH or P2SH-P2WPKH address, construct the BIP-322 challenge for that address and message, sign it with their own unrelated private key, and have the proof accepted. No victim key or victim interaction was required. Application-level nonces do not mitigate this, since the attacker can construct and sign the current challenge message with their own key. P2TR verification is not affected: the public key is derived from the address's witness program rather than from the caller-controlled witness. The flaw was corrected in commit
e8accbe
by deriving the expected scriptPubKey from the witness public key
( There is no known workaround that mitigates the vulnerability. Upgrading to version 0.0.11 is the recommended course of action. Fixed in
0.0.11
References Updated Oct 09, 2026 · Source: OSV.dev |
0.0.7
patch
yanked
Dependencies (7)
Changelog
Compare changes
|
|
0.0.6
patch
yanked
1 CVE
RUSTSEC-2026-0334
GHSA-5chw-87w3-j9cv
Aug 14, 2026
BIP-322 address ownership verification bypass for P2WPKH and P2SH-P2WPKH addresses
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
Affected versions of In
Since As a result, an attacker could select any victim P2WPKH or P2SH-P2WPKH address, construct the BIP-322 challenge for that address and message, sign it with their own unrelated private key, and have the proof accepted. No victim key or victim interaction was required. Application-level nonces do not mitigate this, since the attacker can construct and sign the current challenge message with their own key. P2TR verification is not affected: the public key is derived from the address's witness program rather than from the caller-controlled witness. The flaw was corrected in commit
e8accbe
by deriving the expected scriptPubKey from the witness public key
( There is no known workaround that mitigates the vulnerability. Upgrading to version 0.0.11 is the recommended course of action. Fixed in
0.0.11
References Updated Oct 09, 2026 · Source: OSV.dev |
0.0.6
patch
yanked
Dependencies (7)
Changelog
Compare changes
|
|
0.0.5
patch
|
0.0.5
patch
Dependencies (7)
Changelog
Compare changes
|
|
0.0.4
patch
| ||
0.0.3
patch
| ||
0.0.2
patch
| ||
0.0.1
initial
|