open token

This commit is contained in:
2020-04-28 14:27:14 +02:00
parent 65e1dead8b
commit 2ec8679c47
6 changed files with 193 additions and 68 deletions

View File

@@ -54,6 +54,8 @@ pub enum LuksError {
Luks2Required,
#[fail(display = "Invalid token: {}", _0)]
InvalidToken(String),
#[fail(display = "No token found")]
NoToken,
}
use libcryptsetup_rs::LibcryptErr;