oper: TLS client-cert fingerprint login — oper block gains an optional fp=<sha256>; password=* means cert-only. Named OperBlock struct replaces the (name,pass,level) tuple. (Password login was never broken — verified live.)
This commit is contained in:
parent
853be58d18
commit
c4456cf002
6 changed files with 66 additions and 15 deletions
|
|
@ -130,7 +130,7 @@ pub struct Server {
|
|||
pub nick_index: HashMap<String, Uid>, // lower nick -> uid
|
||||
pub channels: HashMap<String, Channel>, // lower name -> channel
|
||||
pub events: VecDeque<Hook>,
|
||||
pub opers: Vec<(String, String, u32)>, // (name, password, operlevel) from config
|
||||
pub opers: Vec<crate::config::OperBlock>, // oper logins from config
|
||||
pub cloak_key: Option<String>, // host-cloaking key (see modules::cloak)
|
||||
pub line_ctags: String, // client-only tags of the line being handled
|
||||
// --- server-to-server (see crate::link) ---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue