Skip to main content

Module userid_password

Module userid_password 

Source
Expand description

Hashed sentinels in userid_password.

An account with no password of its own stores the sentinel bare. An older writer could hash it like any other password.

Re-exportsยง

use std::fmt; ๐Ÿ”’
use std::str::from_utf8; ๐Ÿ”’
use futures::Stream; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::smallstr::SmallString; ๐Ÿ”’
use tuwunel_core::utils::TryReadyExt; ๐Ÿ”’
use tuwunel_core::utils::hash::verify_password; ๐Ÿ”’
use tuwunel_database::KeyBuf; ๐Ÿ”’
use super::Check; ๐Ÿ”’
use super::Report; ๐Ÿ”’
use super::ScanExt; ๐Ÿ”’
use super::tally; ๐Ÿ”’
use crate::Services; ๐Ÿ”’
use crate::users::PASSWORD_SENTINEL; ๐Ÿ”’
use crate::users::is_password_hash; ๐Ÿ”’

Enumsยง

Finding
A userid_password row that is not what its writer stores.

Staticsยง

CHECK ๐Ÿ”’

Functionsยง

classify ๐Ÿ”’
Classifies one row as scan does.
hashes_sentinel ๐Ÿ”’
scan
Streams each password row hashing the sentinel, and each that is not text.

Type Aliasesยง

Id ๐Ÿ”’