mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-04 21:12:47 -05:00
Add a -restrict-putty-acl option to Windows Pageant.
This causes PuTTY processes spawned from its system-tray menu to run with the -restrict-acl option (or rather, the synonymous &R prefix used by my auto-constructed command lines for easier parsing). The previous behaviour of Pageant was never to pass -restrict-acl to PuTTY, even when started with -restrict-acl itself; this is not actually a silly thing to want to do, because Pageant might well have more need of -restrict-acl than PuTTY (it stores longer-term and more powerful secrets) and conversely PuTTY might have more need to _not_ restrict its ACL than Pageant (in that among the things enabled by an unrestricted ACL are various kinds of accessibility software, which is more useful on the more user-facing PuTTY than on Pageant). But for those who want to lock everything down with every security option possible (even though -restrict-acl is only an ad-hoc precaution and cannot deliver any hard guarantees), this new option should fill in the UI gap.
This commit is contained in:
@ -1042,3 +1042,15 @@ any processes started with Duplicate Session, New Session etc.
|
||||
(However, if you're invoking PuTTY tools explicitly, for instance as a
|
||||
proxy command, you'll need to arrange to pass them the
|
||||
\c{-restrict-acl} option yourself, if that's what you want.)
|
||||
|
||||
If Pageant is started with the \c{-restrict-acl} option, and you use
|
||||
it to launch a PuTTY session from its System Tray submenu, then
|
||||
Pageant will \e{not} default to starting the PuTTY subprocess with a
|
||||
restricted ACL. This is because PuTTY is more likely to suffer reduced
|
||||
functionality as a result of restricted ACLs (e.g. screen reader
|
||||
software will have a greater need to interact with it), whereas
|
||||
Pageant stores the more critical information (hence benefits more from
|
||||
the extra protection), so it's reasonable to want to run Pageant but
|
||||
not PuTTY with the ACL restrictions. You can force Pageant to start
|
||||
subsidiary PuTTY processes with a restricted ACL if you also pass the
|
||||
\c{-restrict-putty-acl} option.
|
||||
|
Reference in New Issue
Block a user