mirror of
https://github.com/luxfi/chains.git
synced 2026-09-24 00:26:00 +00:00
Sign now asks the key for its ML-DSA form instead of rebuilding one per call. A key that arrives as bytes parses on first use and reuses that key for every signature after; a freshly generated key already holds its parsed form. A secret that will not parse fails closed on every call. Takes crypto v1.20.5, where a private key copies the secret it is given and hands back a copy, so the bytes a caller persists out of a generated key stay readable for as long as the caller holds them. Co-authored-by: Hanzo Dev <[email protected]>