docs: Fix typos
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
062e441d8a
commit
f69fa7f370
3 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ oxidetalis_core = { path = "crates/oxidetalis_core" }
|
||||||
oxidetalis_config = { path = "crates/oxidetalis_config" }
|
oxidetalis_config = { path = "crates/oxidetalis_config" }
|
||||||
oxidetalis_migrations = { path = "crates/oxidetalis_migrations" }
|
oxidetalis_migrations = { path = "crates/oxidetalis_migrations" }
|
||||||
oxidetalis_entities = { path = "crates/oxidetalis_entities" }
|
oxidetalis_entities = { path = "crates/oxidetalis_entities" }
|
||||||
# Shered dependencies
|
# Shared dependencies
|
||||||
base58 = "0.2.0"
|
base58 = "0.2.0"
|
||||||
serde = "1.0.203"
|
serde = "1.0.203"
|
||||||
thiserror = "1.0.61"
|
thiserror = "1.0.61"
|
||||||
|
|
|
@ -49,7 +49,7 @@ pub enum ApiError {
|
||||||
/// The entered public key is already registered (400 Bad Request)
|
/// The entered public key is already registered (400 Bad Request)
|
||||||
#[error("The entered public key is already registered")]
|
#[error("The entered public key is already registered")]
|
||||||
DuplicatedUser,
|
DuplicatedUser,
|
||||||
/// The user enterd tow different public keys
|
/// The user entered two different public keys
|
||||||
/// one in the header and other in the request body
|
/// one in the header and other in the request body
|
||||||
/// (400 Bad Request)
|
/// (400 Bad Request)
|
||||||
#[error("You entered two different public keys")]
|
#[error("You entered two different public keys")]
|
||||||
|
|
|
@ -203,7 +203,7 @@ impl K256Secret {
|
||||||
|
|
||||||
/// Sign a data with the shared secret.
|
/// Sign a data with the shared secret.
|
||||||
///
|
///
|
||||||
/// The signature is exiplained in the OTMP specification.
|
/// The signature is explained in the OTMP specification.
|
||||||
#[logcall]
|
#[logcall]
|
||||||
pub fn sign(&self, data: &[u8], sign_to: &CorePublicKey) -> CoreSignature {
|
pub fn sign(&self, data: &[u8], sign_to: &CorePublicKey) -> CoreSignature {
|
||||||
Self::sign_with_shared_secret(data, &self.shared_secret(sign_to))
|
Self::sign_with_shared_secret(data, &self.shared_secret(sign_to))
|
||||||
|
|
Loading…
Reference in a new issue