mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2025-01-03 17:13:48 +01:00
encode token as hex
This commit is contained in:
parent
49fa24f1f9
commit
0b997547ed
@ -361,8 +361,7 @@ impl Authentication for FabFire {
|
||||
Ok(_) => {
|
||||
match apdu_response.body {
|
||||
Some(data) => {
|
||||
let authid = String::from_utf8(data)
|
||||
.unwrap()
|
||||
let authid = hex::encode(data)
|
||||
.trim_matches(char::from(0))
|
||||
.to_string();
|
||||
let prov = ThisProvider::<AuthId>::with(&authid);
|
||||
|
Loading…
Reference in New Issue
Block a user