Re: [qubes-devel] qrexec parser - !include-dir allows multiple params

2023-05-26 Thread Ben Grande
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 23-05-26 16:55:19, Ben Grande wrote: > The more general question is, can we avoid runtime to detect these kind > of problems? I don't believe this is an error on qubes-policy-lint, as > it is simply using StringPolicy. > > -- > Benjamin Grande

Re: [qubes-devel] qrexec parser - !include-dir allows multiple params

2023-05-26 Thread Ben Grande
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 23-05-26 16:09:45, Ben Grande wrote: > On 23-05-26 17:57:56, Marek Marczykowski-Górecki wrote: > > On Fri, May 26, 2023 at 03:48:18PM +, Ben Grande wrote: > > > Issue report. > > > > > > Fails: > > > !include a b > > > Works: > > >

Re: [qubes-devel] qrexec parser - !include-dir allows multiple params

2023-05-26 Thread Ben Grande
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 23-05-26 17:57:56, Marek Marczykowski-Górecki wrote: > On Fri, May 26, 2023 at 03:48:18PM +, Ben Grande wrote: > > Issue report. > > > > Fails: > > !include a b > > Works: > > !include-dir a b > > > > I believe that !include-dir should

Re: [qubes-devel] qrexec parser - !include-dir allows multiple params

2023-05-26 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Fri, May 26, 2023 at 03:48:18PM +, Ben Grande wrote: > Issue report. > > Fails: > !include a b > Works: > !include-dir a b > > I believe that !include-dir should also throw an exception on invalid > number of params, but it currently