Re: [libvirt] [PATCH] Fix virt-pki-validate's determination of CN

2010-04-29 Thread Eric Blake
On 04/29/2010 04:16 PM, Dustin Kirkland wrote: >> I've tested this against the certool output of both RH and Ubuntu >> generated certs. >> >> Signed-off-by: Dustin Kirkland >> Signed-off-by: Eric Blake >> --- >> -ORG=`$CERTOOL -i --infile $CA/cacert.pem | sed -n '/Issuer/ s+Issuer: >> CN=++p'` >

Re: [libvirt] [PATCH] Fix virt-pki-validate's determination of CN

2010-04-29 Thread Dustin Kirkland
On Thu, 2010-04-29 at 15:56 -0600, Eric Blake wrote: > From: Dustin Kirkland > > Ubuntu's gntls package generates an Issuer line that looks like this: > Issuer: C=US,ST=NY,L=Rochester,O=example.com,CN=example.com > CA,email=hostmas...@example.com > > While Red Hat's looks like this > Is

[libvirt] [PATCH] Fix virt-pki-validate's determination of CN

2010-04-29 Thread Eric Blake
From: Dustin Kirkland Ubuntu's gntls package generates an Issuer line that looks like this: Issuer: C=US,ST=NY,L=Rochester,O=example.com,CN=example.com CA,email=hostmas...@example.com While Red Hat's looks like this Issuer: CN=Red Hat Emerging Technologies Note the leading whitespace,

Re: [libvirt] [PATCH] Fix virt-pki-validate's determination of CN

2010-04-29 Thread Eric Blake
On 04/29/2010 03:20 PM, Dustin Kirkland wrote: > Fix virt-pki-validate's determination of CN > > This patch is a follow-up to: > cb06a9bfe529e64b15773cb86781ae14c09f8216 > "portability fixes to tools/virt-pki-validate.in" > addressing Eric Blake's concerns about the regular expression. >

[libvirt] [PATCH] Fix virt-pki-validate's determination of CN

2010-04-29 Thread Dustin Kirkland
Fix virt-pki-validate's determination of CN This patch is a follow-up to: cb06a9bfe529e64b15773cb86781ae14c09f8216 "portability fixes to tools/virt-pki-validate.in" addressing Eric Blake's concerns about the regular expression. Ubuntu's gntls package generates an Issuer line that looks li