Add SASL SCRAM-SHA-256 and SCRAM-SHA-512
This commit is contained in:
parent
172e50c748
commit
496c0f99a6
8 changed files with 569 additions and 58 deletions
|
|
@ -35,7 +35,8 @@ async fn main() -> Result<()> {
|
|||
let services: Vec<Box<dyn engine::service::Service>> = vec![Box::new(NickServ {
|
||||
uid: format!("{}AAAAAA", cfg.server.sid),
|
||||
})];
|
||||
let db = engine::db::Db::open("fedserv.db.jsonl");
|
||||
let mut db = engine::db::Db::open("fedserv.db.jsonl");
|
||||
db.scram_iterations = cfg.server.scram_iterations;
|
||||
let engine = Engine::new(services, db);
|
||||
|
||||
let addr = format!("{}:{}", cfg.uplink.host, cfg.uplink.port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue