[luksbootkeyfile] Don't log passphrase

main
Adriaan de Groot 6 years ago
parent 8a7884d476
commit 7d7d4c69ef

@ -174,7 +174,8 @@ LuksBootKeyFileJob::exec()
auto it = std::partition( s.devices.begin(), s.devices.end(), []( const LuksDevice& d ) { return d.isRoot; } ); auto it = std::partition( s.devices.begin(), s.devices.end(), []( const LuksDevice& d ) { return d.isRoot; } );
for ( const auto& d : s.devices ) for ( const auto& d : s.devices )
{ {
cDebug() << Logger::SubEntry << d.isRoot << d.device << d.passphrase; cDebug() << Logger::SubEntry << ( d.isRoot ? "root" : "dev." ) << d.device << "passphrase?"
<< !d.passphrase.isEmpty();
} }
if ( it == s.devices.begin() ) if ( it == s.devices.begin() )

Loading…
Cancel
Save