Actions
Task #6817
closedTask #6819: tracking: rust: update dependencies for 8
rust: kerberos-parser 0.8.0
Effort:
Difficulty:
Label:
Description
Update to 0.8.0 of the kerberos-parser. Needs a few fixes, it seems:
Compiling kerberos-parser v0.8.0
Compiling suricata v8.0.0-dev (/home/victor/sync/devel/suricata-tcp/rust)
warning: use of deprecated function `kerberos_parser::krb5_parser::parse_ap_req`: Parsing functions are deprecated. Users should instead use the FromDer trait
--> /home/victor/devel/suricata-tcp/rust/src/kerberos.rs:27:35
|
27 | use kerberos_parser::krb5_parser::parse_ap_req;
| ^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated function `kerberos_parser::krb5_parser::parse_ap_req`: Parsing functions are deprecated. Users should instead use the FromDer trait
--> /home/victor/devel/suricata-tcp/rust/src/kerberos.rs:67:27
|
67 | let (i, ap_req) = parse_ap_req(i)?;
| ^^^^^^^^^^^^
warning: use of deprecated function `kerberos_parser::krb5_parser::parse_krb_error`: Parsing functions are deprecated. Users should instead use the FromDer trait
--> /home/victor/devel/suricata-tcp/rust/src/krb/krb5.rs:206:48
|
206 | let res = krb5_parser::parse_krb_error(i);
| ^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> /home/victor/devel/suricata-tcp/rust/src/kerberos.rs:67:27
|
67 | let (i, ap_req) = parse_ap_req(i)?;
| ^^^^^^^^^^^^^^^^ expected `BerError`, found `Error`
For more information about this error, try `rustc --explain E0308`.
warning: `suricata` (lib) generated 3 warnings
error: could not compile `suricata` (lib) due to previous error; 3 warnings emitted
make[1]: *** [Makefile:547: all-local] Error 101
make[1]: Leaving directory '/home/victor/sync/devel/suricata-tcp/rust'
make: *** [Makefile:497: all-recursive] Error 1
https://github.com/rusticata/kerberos-parser/issues/14
Actions