mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
chore: Upgrade other dependencies
This commit is contained in:
8 files changed
+612
-559
No files matched your search
@@ -8,7 +8,7 @@ use conduwuit_database::Database;
|
||||
use p256::{
|
||||
SecretKey,
|
||||
ecdsa::{Signature, SigningKey, signature::Signer},
|
||||
elliptic_curve::sec1::ToEncodedPoint,
|
||||
elliptic_curve::sec1::ToSec1Point,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
@@ -48,7 +48,7 @@ impl Vapid {
|
||||
};
|
||||
|
||||
let public_key =
|
||||
URL_SAFE_NO_PAD.encode(secret.public_key().to_encoded_point(false).as_bytes());
|
||||
URL_SAFE_NO_PAD.encode(secret.public_key().to_sec1_point(false).as_bytes());
|
||||
|
||||
Ok(Self {
|
||||
secret,
|
||||
|
||||
Reference in new issue
Block a user