mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 07:16:31 +03:00
Merge branch 'stable'
This commit is contained in:
@@ -299,13 +299,13 @@ impl Accounts {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Configuration file name.
|
/// Configuration file name.
|
||||||
pub const CONFIG_NAME: &str = "accounts.toml";
|
const CONFIG_NAME: &str = "accounts.toml";
|
||||||
|
|
||||||
/// Lockfile name.
|
/// Lockfile name.
|
||||||
pub const LOCKFILE_NAME: &str = "accounts.lock";
|
const LOCKFILE_NAME: &str = "accounts.lock";
|
||||||
|
|
||||||
/// Database file name.
|
/// Database file name.
|
||||||
pub const DB_NAME: &str = "dc.db";
|
const DB_NAME: &str = "dc.db";
|
||||||
|
|
||||||
/// Account manager configuration file.
|
/// Account manager configuration file.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ pub(crate) async fn load_keypair(
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Use of a [KeyPair] for encryption or decryption.
|
/// Use of a key pair for encryption or decryption.
|
||||||
///
|
///
|
||||||
/// This is used by [store_self_keypair] to know what kind of key is
|
/// This is used by [store_self_keypair] to know what kind of key is
|
||||||
/// being saved.
|
/// being saved.
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ pub mod mimeparser;
|
|||||||
pub mod oauth2;
|
pub mod oauth2;
|
||||||
mod param;
|
mod param;
|
||||||
pub mod peerstate;
|
pub mod peerstate;
|
||||||
pub mod pgp;
|
mod pgp;
|
||||||
pub mod provider;
|
pub mod provider;
|
||||||
pub mod qr;
|
pub mod qr;
|
||||||
pub mod qr_code_generator;
|
pub mod qr_code_generator;
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ use crate::key::{DcKey, Fingerprint};
|
|||||||
use crate::tools::EmailAddress;
|
use crate::tools::EmailAddress;
|
||||||
|
|
||||||
#[allow(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
pub const HEADER_AUTOCRYPT: &str = "autocrypt-prefer-encrypt";
|
#[cfg(test)]
|
||||||
|
pub(crate) const HEADER_AUTOCRYPT: &str = "autocrypt-prefer-encrypt";
|
||||||
|
|
||||||
#[allow(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
pub const HEADER_SETUPCODE: &str = "passphrase-begin";
|
pub const HEADER_SETUPCODE: &str = "passphrase-begin";
|
||||||
|
|||||||
Reference in New Issue
Block a user