public function importPrivateKeyCommand($usedForPasswords = false)
{
$keyData = '';
// no file_get_contents here because it does not work on php://stdin
$fp = fopen('php://stdin', 'rb');
while (!feof($fp)) {
$keyData .= fgets($fp, 4096);
}
fclose($fp);
$fingerprint = $this->rsaWalletService->registerKeyPairFromPrivateKeyString($keyData, $usedForPasswords);
$this->outputLine('The keypair has been successfully imported. Use the following fingerprint to refer to it in the RSAWalletService: ' . PHP_EOL . PHP_EOL . $fingerprint . PHP_EOL);
}