mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2025-12-18 05:08:56 -05:00
a
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
7f22f0e3a6
commit
2fad03597a
3 changed files with 96 additions and 10 deletions
|
|
@ -211,9 +211,10 @@ lasttimelinecount_cache: {lasttimelinecount_cache}\n"
|
|||
.map(|key| (version, key))
|
||||
})
|
||||
.and_then(|(version, key)| {
|
||||
debug!("Keypair bytes: {:?}", key);
|
||||
let keypair = Ed25519KeyPair::from_der(key, version)
|
||||
.map_err(|_| Error::bad_database("Private or public keys are invalid."));
|
||||
debug!("Private and public key bytes: {keypair:?}");
|
||||
debug!("Private and public key: {keypair:?}");
|
||||
keypair
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue