[Bug 1878] New: error message in key_perm_ok should be firmer
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Mon Mar 14 21:18:11 EST 2011
https://bugzilla.mindrot.org/show_bug.cgi?id=1878
Summary: error message in key_perm_ok should be firmer
Product: Portable OpenSSH
Version: 5.8p1
Platform: All
URL: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug
/663455
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: cjwatson at debian.org
David Lublink reported the following as an Ubuntu bug:
int
key_perm_ok(int fd, const char *filename)
{
[...]
error("Permissions 0%3.3o for '%s' are too open.",
(u_int)st.st_mode & 0777, filename);
error("It is recommended that your private key files are NOT
accessible by others.");
error("This private key will be ignored.");
return 0;
}
return 1;
}
The text "It is recommended that your private key files are NOT
accessible by others." should read "It is not permitted....".
There is no workaround to use a non-protected private key, therefore it
is incorrect to say "recommended".
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list