Don't show * mask when entering password (#23)
- The * mask has the potential to leak the users password length and should not be used. Fixes #8
This commit is contained in:
parent
e3c2be9e84
commit
4b99745114
|
@ -18,7 +18,6 @@ export class ExportCommand {
|
||||||
type: 'password',
|
type: 'password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
message: 'Master password:',
|
message: 'Master password:',
|
||||||
mask: '*',
|
|
||||||
});
|
});
|
||||||
password = answer.password;
|
password = answer.password;
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,6 @@ export class LoginCommand {
|
||||||
type: 'password',
|
type: 'password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
message: 'Master password:',
|
message: 'Master password:',
|
||||||
mask: '*',
|
|
||||||
});
|
});
|
||||||
password = answer.password;
|
password = answer.password;
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,6 @@ export class UnlockCommand {
|
||||||
type: 'password',
|
type: 'password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
message: 'Master password:',
|
message: 'Master password:',
|
||||||
mask: '*',
|
|
||||||
});
|
});
|
||||||
password = answer.password;
|
password = answer.password;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue