Tiny Core Base > Final Releases
Tiny Core v5.1
curaga:
@netnomad
The password is read one char at a time, see tc-functions. The code here has not changed since 4.7 (besides the last char bugfix). It's probably a kernel change.
Would you like to try to fix it? You can test it easily from a normal shell, reboots not needed - just call ". /etc/init.d/tc-functions; getpasswd", it will fetch the latest function and start it.
Then you can have tc-functions open in another terminal and edit to fit.
edit: I see it's not possible to have both editing and "password stars" in shell. That it worked before was a bug that's now seemingly fixed.
I'll see about making a C helper for this.
curaga:
Actually, I'd rather not reimplement line editing. We can make it a line editing prompt, but without any stars, like the normal busybox login. Would that work for you?
netnomad:
hi curaga,
i don't mind.
in my opinion the best solution was line-editing plus stars, although it's caused by a bug, so it's hard to decide.
is there a limit for false inputs? can i try a password again and again?
if yes, it could be a security issue :(
if no, probably line-editing is more secure and convenient.
curaga:
--- Quote ---is there a limit for false inputs? can i try a password again and again?
if yes, it could be a security issue
if no, probably line-editing is more secure and convenient.
--- End quote ---
If the entered password matches (when you enter it again), that's the only try. If the decryption fails you are not asked again.
Ash does not support arrow keys in the "read" builtin, but backspace will work in future versions.
Juanito:
The CorePlus-5.1 iso has been reposted.
Problems with the dep tree files in the repo resulted in the wrong versions of the ndiswrapper, wireless and wl kernel module extensions being built into the previous iso.
Note that there are still problems with the dep tree files in the repos and we are working to fix this.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version