mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 10:14:35 +00:00
feat(credential): implement credential peer auth and trust propagation (#1968)
- add credential manager and RPC/CLI for generate/list/revoke - support credential-based Noise authentication and revocation handling - propagate trusted credential metadata through OSPF route sync - classify direct peers by auth level in session maintenance - normalize sender credential flag for legacy non-secure compatibility - add unit/integration tests for credential join, relay and revocation
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
use std::io::IsTerminal as _;
|
||||
|
||||
use crate::common::config::LoggingConfigLoader;
|
||||
use crate::common::get_logger_timer_rfc3339;
|
||||
use crate::common::tracing_rolling_appender::{FileAppenderWrapper, RollingFileAppenderBase};
|
||||
@@ -175,7 +177,8 @@ pub fn init(
|
||||
|
||||
let layer = || {
|
||||
layer()
|
||||
.pretty()
|
||||
.compact()
|
||||
.with_ansi(std::io::stderr().is_terminal())
|
||||
.with_timer(get_logger_timer_rfc3339())
|
||||
.with_writer(std::io::stderr)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user