Re: [ptxdist] [PATCH 04/13] ptxd_lib_code_signing: introduce CA helper

2020-05-15 Thread Jan Lübbe
On Fri, 2020-05-15 at 13:21 +0200, Bastian Krause wrote: > I guess if we first append a file with no EOL at the end and then > append something else this can lead to.. > > "-END CERTIFICATE--BEGIN CERTIFICATE-" > > .. on a single line. Yes, this is the case is was thinking of.

Re: [ptxdist] [PATCH 04/13] ptxd_lib_code_signing: introduce CA helper

2020-05-15 Thread Bastian Krause
On 5/15/20 12:36 PM, Michael Olbrich wrote: > On Thu, May 14, 2020 at 03:42:51PM +0200, Bastian Krause wrote: >> These helpers allow key providers to append certificates to their CA. >> 'cs_get_ca ' then returns the path to the keyring allowing rules >> and other helpers to retrieve it easily.

Re: [ptxdist] [PATCH 04/13] ptxd_lib_code_signing: introduce CA helper

2020-05-15 Thread Michael Olbrich
On Thu, May 14, 2020 at 03:42:51PM +0200, Bastian Krause wrote: > These helpers allow key providers to append certificates to their CA. > 'cs_get_ca ' then returns the path to the keyring allowing rules > and other helpers to retrieve it easily. > > Signed-off-by: Bastian Krause > --- >

[ptxdist] [PATCH 04/13] ptxd_lib_code_signing: introduce CA helper

2020-05-14 Thread Bastian Krause
These helpers allow key providers to append certificates to their CA. 'cs_get_ca ' then returns the path to the keyring allowing rules and other helpers to retrieve it easily. Signed-off-by: Bastian Krause --- scripts/lib/ptxd_lib_code_signing.sh | 63 1 file