Function self_fingerprint_opt

Source
pub(crate) async fn self_fingerprint_opt(
    context: &Context,
) -> Result<Option<&str>>
Expand description

Returns own public key fingerprint in (not human-readable) hex representation. This is the fingerprint format that is used in the database.

Returns None if no key is generated yet.

For performance reasons, the fingerprint is cached after the first invocation.