Move additional_key.rs to serai-processor-view-keys

I don't love this. I wanted to simply add this function to `processor/key-gen`,
but then anyone who wants a view key needs to pull in Bulletproofs which is a
mess of code. They'd also be subject to an AGPL licensed library.

This is so small it should be a primitive elsewhere, yet there is no primitives
library eligible. Maybe serai-client since that has the code to make
transactions to Serai (and will have this as a dependency)? Except then the
processor has to import serai-client when this rewrite removed it as a
dependency.
This commit is contained in:
Luke Parker
2024-09-04 17:29:48 -04:00
parent 2da24506a2
commit d570c1d277
11 changed files with 69 additions and 36 deletions

7
Cargo.lock generated
View File

@@ -8760,6 +8760,13 @@ dependencies = [
"serai-processor-scheduler-primitives",
]
[[package]]
name = "serai-processor-view-keys"
version = "0.1.0"
dependencies = [
"ciphersuite",
]
[[package]]
name = "serai-reproducible-runtime-tests"
version = "0.1.0"