Server application for collaborative production of 3D assets and animations.
--- libpijul-1.0.0-beta.3/src/key.rs.orig	2023-02-05 22:42:53.608359496 +0100
+++ libpijul-1.0.0-beta.3/src/key.rs	2023-02-05 23:54:31.321869112 +0100
@@ -1,6 +1,7 @@
 use ed25519_dalek::Signer;
 use hmac::Hmac;
 use sha2::{Digest, Sha256};
+use std::convert::TryFrom;
 
 pub const VERSION: u64 = 0;
 
@@ -224,7 +225,7 @@
                 let key = ed25519_dalek::PublicKey::from_bytes(&key)?;
                 let mut signature = [0; 64];
                 bs58::decode(self.signature.as_bytes()).into(&mut signature)?;
-                let signature = ed25519_dalek::Signature::from_bytes(&signature)?;
+                let signature = ed25519_dalek::Signature::from(signature);
 
                 let msg =
                     bincode::serialize(&(Algorithm::Ed25519, self.expires.clone(), &key)).unwrap();
@@ -271,7 +272,7 @@
                 }
                 let mut sig = [0; 64];
                 bs58::decode(signature.as_bytes()).into(&mut sig)?;
-                let sig = ed25519_dalek::Signature::from_bytes(&sig)?;
+                let sig = ed25519_dalek::Signature::from(sig);
                 key.verify_strict(&h, &sig)?;
                 Ok(())
             }