More debugging
More debug output for password.
This commit is contained in:
parent
935d0f478d
commit
aece35134e
2
server.c
2
server.c
@ -155,7 +155,7 @@ static bool unlock_disk(const struct diskentry_t *disk, const uint8_t *passphras
|
|||||||
sprintf_uuid(ascii_uuid, disk->disk_uuid);
|
sprintf_uuid(ascii_uuid, disk->disk_uuid);
|
||||||
log_msg(LLVL_INFO, "Trying to unlock disk %s with UUID %s", disk->devmapper_name, ascii_uuid);
|
log_msg(LLVL_INFO, "Trying to unlock disk %s with UUID %s", disk->devmapper_name, ascii_uuid);
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, "Using key: ");
|
fprintf(stderr, "Using %d bytes key for unlocking: ", passphrase_length);
|
||||||
dump_hex(stderr, passphrase, passphrase_length);
|
dump_hex(stderr, passphrase, passphrase_length);
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user