[Bug 2755] [PATCH] sshd_config: allow directories in AuthorizedKeysFile=

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Dec 5 00:26:11 AEDT 2024


https://bugzilla.mindrot.org/show_bug.cgi?id=2755

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3411|0                           |1
        is obsolete|                            |
             Status|NEW                         |ASSIGNED
                 CC|                            |dtucker at dtucker.net
           Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
   Attachment #3846|                            |ok?(dtucker at dtucker.net)
              Flags|                            |

--- Comment #13 from Damien Miller <djm at mindrot.org> ---
Created attachment 3846
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3846&action=edit
glob(3) wildcards for AuthorizedKeysFile and AuthorizedPrincipalsFile

I think that accepting directories for these options is dangerous as a
mistake such as omitting a path component could result in using
unexpected files.

Instead I propose to allow glob(3) wildcards in these options. This
AFAIK achieves the same goal but is more explicit and exact about what
gets pulled in.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list