2025-08-18 01:55:37 -04:00
|
|
|
# Distributed Key Generation - Recovery
|
2025-08-18 01:24:40 -04:00
|
|
|
|
2025-08-18 01:55:37 -04:00
|
|
|
A utility function to recover a key from its secret shares.
|
2025-08-18 01:24:40 -04:00
|
|
|
|
2025-08-18 01:55:37 -04:00
|
|
|
Keys likely SHOULD NOT ever be recovered, making this primarily intended for
|
|
|
|
|
testing purposes. Instead, the shares of the key should be used to produce
|
|
|
|
|
shares for the desired action, allowing using the key while never
|
|
|
|
|
reconstructing it.
|
2025-08-18 01:24:40 -04:00
|
|
|
|
|
|
|
|
Before being smashed, this crate was [audited by Cypher Stack in March 2023](
|
|
|
|
|
https://github.com/serai-dex/serai/raw/e1bb2c191b7123fd260d008e31656d090d559d21/audits/Cypher%20Stack%20crypto%20March%202023/Audit.pdf
|
|
|
|
|
), culminating in commit [669d2dbffc1dafb82a09d9419ea182667115df06](
|
|
|
|
|
https://github.com/serai-dex/serai/tree/669d2dbffc1dafb82a09d9419ea182667115df06
|
|
|
|
|
). Any subsequent changes have not undergone auditing.
|