All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
@ 2011-10-04 17:46 Steven Rostedt
  2011-10-04 18:02 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: Steven Rostedt @ 2011-10-04 17:46 UTC (permalink / raw)
  To: quilt-dev
  Cc: LKML, Peter Zijlstra, Andrew Morton, John Kacur, H. Peter Anvin,
	Greg Kroah-Hartman, Andreas Gruenbacher

quilt mail: Add way to sign mail with GPG

After the attack of kernel.org, several kernel developers are getting
paranoid about who is really who. A lot of focus is on signing emails
that verify who people really are using GPG signatures.

Unfortunately, there's no way to sign quilt email as it goes out. This
patch fixes that.

Added the quilt mail option --pass to allow the user to enter a
passphrase and sign their email patches.

Thanks to Peter Zijlstra for recommending --use-agent to solve the
issues of both the passphrase in unlocked memory, and typing something
wrong.

These changes were done in /usr/share/quilt.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

diff --git a/mail b/mail
index c3c8297..ec04964 100755
--- a/mail
+++ b/mail
@@ -63,6 +63,9 @@ first, and a last patch name of \`-' denotes the last patch in the series.
 
 --reply-to message
 	Add the appropriate headers to reply to the specified message.
+
+--pass
+	Sign email with GPG signatures.
 " "/usr/share/doc/quilt/README.MAIL"
 		exit 0
 	else
@@ -115,6 +118,15 @@ references_header() {
 	[ -n "$references" ] && echo "References: $references"
 }
 
+sign_mail()
+{
+	if [ -z "$opt_pass" ]; then
+		cat
+	else
+		$QUILT_DIR/scripts/gpgmail.pl --agent
+	fi
+}
+	
 process_mail()
 {
 	local tmpfile=$(gen_tempfile)
@@ -132,12 +144,12 @@ process_mail()
 			${QUILT_SENDMAIL_ARGS--f "$opt_sender"} "$@"
 		$QUILT_DIR/scripts/edmail --charset $opt_charset \
 				 --remove-header Bcc "$@" < $tmpfile \
-		| ${QUILT_SENDMAIL:-sendmail} \
+		| sign_mail | ${QUILT_SENDMAIL:-sendmail} \
 			${QUILT_SENDMAIL_ARGS--f "$opt_sender"} "$@"
 	else
 		local from_date=$(LC_ALL=C date "+%a %b %e %H:%M:%S %Y")
 		echo "From $opt_sender_address $from_date"
-		sed -e 's/^From />From /' $tmpfile
+		sed -e 's/^From />From /' $tmpfile | sign_mail
 		echo
 	fi
 	rm -f $tmpfile
@@ -154,7 +166,7 @@ join_lines() {
 }
 
 options=`getopt -o m:h --long from:,to:,cc:,bcc:,subject: \
-		       --long send,mbox:,charset:,sender: \
+		       --long send,pass,mbox:,charset:,sender: \
 		       --long prefix:,reply-to:,signature: -- "$@"`
 
 if [ $? -ne 0 ]
@@ -212,6 +224,9 @@ do
 	--reply-to)
 		opt_reply_to=$2
 		shift 2 ;;
+	--pass)
+		opt_pass=1
+		shift ;;
 	--signature)
 		if [ "$2" = - ]
 		then
diff --git a/scripts/gpgmail.pl b/scripts/gpgmail.pl
new file mode 100755
index 0000000..c4484bb
--- /dev/null
+++ b/scripts/gpgmail.pl
@@ -0,0 +1,124 @@
+#!/usr/bin/perl
+
+use strict;
+
+use MIME::QuotedPrint;
+
+my $pass = "";
+
+while ($#ARGV >= 0) {
+    my $opt = $ARGV[0];
+
+    last if ($opt =~ /^--$/ || $opt !~ /^-/);
+
+    if ($opt eq "--passwd") {
+	shift @ARGV;
+	$pass = shift @ARGV;
+    } elsif ($opt eq "--agent") {
+	shift @ARGV;
+	$pass = " --use-agent ";
+    } else {
+	die "undefined option $opt";
+    }
+}
+
+shift @ARGV if ($#ARGV >= 0 && $ARGV eq "--");
+
+if ($#ARGV >= 0) {
+    open(IN, $ARGV[0]) or die "can't read $ARGV[0]";
+} else {
+    *IN = *STDIN;
+}
+
+*OUT = *STDOUT;
+
+my $content;
+my $quot;
+my $quoted = 0;
+
+while (<IN>) {
+    if (/^Content-Type/) {
+	s/$/\r/;
+	$content = $_;
+
+    } elsif (/^Content-Transfer-Encoding/) {
+	s/$/\r/;
+	$quot = $_;
+	$quoted = 1;
+
+    } elsif (/^$/) {
+	last;
+    } else {
+	print OUT;
+    }
+}
+
+my $scissor = sprintf "%s", crypt( sprintf("%d", rand * 1000), sprintf("%d", rand * 100));
+
+print OUT "Content-Type: multipart/signed; micalg=\"pgp-sha1\"; protocol=\"application/pgp-signature\"; boundary=\"$scissor\"";
+
+print OUT "\n\n";
+
+my $convert = 0;
+
+if (!defined($content)) {
+    $content = "Content-Type: text/plain; charset=\"UTF-8\"\r\n";
+    $quot = "Content-Transfer-Encoding: quoted-printable\r\n";
+    $convert = 1;
+    $quoted = 1;
+}
+
+print OUT "--$scissor\n";
+
+my @lines;
+
+$lines[$#lines + 1] = $content;
+if ($quoted) {
+    $lines[$#lines + 1] = $quot;
+}
+$lines[$#lines + 1] = "\r\n";
+
+my @rest;
+
+my @rest = <IN>;
+
+if ($convert) {
+    foreach my $line (@rest) {
+	$line = encode_qp($line,"\r\n");
+    }
+}
+
+@lines = (@lines, @rest);
+
+close IN;
+
+my $tmpfile = "/tmp/gpgmail.$$";
+
+open(TMP, ">", $tmpfile) or die "Can't create a temporary file";
+
+print TMP @lines;
+
+close TMP;
+
+# put the lines back to unix
+foreach my $line (@lines) {
+    $line =~ s/\r//g;
+}
+
+print OUT @lines;
+
+print OUT "\n";
+print OUT "--$scissor\n";
+
+my $pgp = `gpg --simple-sk-checksum -a --detach-sign $pass --output - < $tmpfile`;
+
+unlink $tmpfile;
+
+print OUT "Content-Type: application/pgp-signature; name=\"signature.asc\"\n";
+print OUT "Content-Description: This is a digitally signed message part\n";
+print OUT "\n";
+
+print OUT $pgp;
+
+print OUT "\n";
+print OUT "--$scissor--\n";



^ permalink raw reply related	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 17:46 [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail Steven Rostedt
@ 2011-10-04 18:02 ` Greg KH
  2011-10-04 18:09   ` H. Peter Anvin
  2011-10-04 18:15   ` Steven Rostedt
  2011-10-04 18:59 ` Peter Zijlstra
  2011-10-06 10:27 ` [RFC][PATCH v2][QUILT] Add Peter Zijlstra
  2 siblings, 2 replies; 27+ messages in thread
From: Greg KH @ 2011-10-04 18:02 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: quilt-dev, LKML, Peter Zijlstra, Andrew Morton, John Kacur,
	H. Peter Anvin, Andreas Gruenbacher

On Tue, Oct 04, 2011 at 01:46:34PM -0400, Steven Rostedt wrote:
> +my $pgp = `gpg --simple-sk-checksum -a --detach-sign $pass --output - < $tmpfile`;

Try not to use gpg when calling from scripts, use gpgv instead, it
handles things much better, and sets the return value correctly so you
can check it (which I don't think you do here.)

Now if only someone can get quilt working properly for git's "split"
 subject: lines, I would be very happy...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 18:02 ` Greg KH
@ 2011-10-04 18:09   ` H. Peter Anvin
  2011-10-04 18:18     ` Steven Rostedt
                       ` (2 more replies)
  2011-10-04 18:15   ` Steven Rostedt
  1 sibling, 3 replies; 27+ messages in thread
From: H. Peter Anvin @ 2011-10-04 18:09 UTC (permalink / raw)
  To: Greg KH
  Cc: Steven Rostedt, quilt-dev, LKML, Peter Zijlstra, Andrew Morton,
	John Kacur, Andreas Gruenbacher

On 10/04/2011 11:02 AM, Greg KH wrote:
> On Tue, Oct 04, 2011 at 01:46:34PM -0400, Steven Rostedt wrote:
>> +my $pgp = `gpg --simple-sk-checksum -a --detach-sign $pass --output - < $tmpfile`;
> 
> Try not to use gpg when calling from scripts, use gpgv instead, it
> handles things much better, and sets the return value correctly so you
> can check it (which I don't think you do here.)
> 

gpgv is only usable to verify contents (equivalent to gpg --verify).
For other things you need to use gpg's --status-fd feature, *or*
(perhaps better) run gpgv on the output to verify that you actually got
a good signature.

	-hpa

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 18:02 ` Greg KH
  2011-10-04 18:09   ` H. Peter Anvin
@ 2011-10-04 18:15   ` Steven Rostedt
  2011-10-04 18:26     ` Greg KH
  1 sibling, 1 reply; 27+ messages in thread
From: Steven Rostedt @ 2011-10-04 18:15 UTC (permalink / raw)
  To: Greg KH
  Cc: quilt-dev, LKML, Peter Zijlstra, Andrew Morton, John Kacur,
	H. Peter Anvin

On Tue, 2011-10-04 at 11:02 -0700, Greg KH wrote:
> On Tue, Oct 04, 2011 at 01:46:34PM -0400, Steven Rostedt wrote:
> > +my $pgp = `gpg --simple-sk-checksum -a --detach-sign $pass --output - < $tmpfile`;
> 
> Try not to use gpg when calling from scripts, use gpgv instead, it
> handles things much better, and sets the return value correctly so you
> can check it (which I don't think you do here.)

You're right, I don't check the return value. I haven't figured out a
good way to pass that back to the script. Hmm, an error in the pipe
would kill the pipe.

> 
> Now if only someone can get quilt working properly for git's "split"
>  subject: lines, I would be very happy...

What issues do you have? I use quilt to send git patches all the time.

What are git's "split" subject: lines?

-- Steve



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 18:09   ` H. Peter Anvin
@ 2011-10-04 18:18     ` Steven Rostedt
  2011-10-04 18:18     ` Greg KH
  2011-10-04 19:38     ` Steven Rostedt
  2 siblings, 0 replies; 27+ messages in thread
From: Steven Rostedt @ 2011-10-04 18:18 UTC (permalink / raw)
  To: H. Peter Anvin
  Cc: Greg KH, quilt-dev, LKML, Peter Zijlstra, Andrew Morton,
	John Kacur, Andreas Gruenbacher

On Tue, 2011-10-04 at 11:09 -0700, H. Peter Anvin wrote:
> On 10/04/2011 11:02 AM, Greg KH wrote:
> > On Tue, Oct 04, 2011 at 01:46:34PM -0400, Steven Rostedt wrote:
> >> +my $pgp = `gpg --simple-sk-checksum -a --detach-sign $pass --output - < $tmpfile`;
> > 
> > Try not to use gpg when calling from scripts, use gpgv instead, it
> > handles things much better, and sets the return value correctly so you
> > can check it (which I don't think you do here.)
> > 
> 
> gpgv is only usable to verify contents (equivalent to gpg --verify).
> For other things you need to use gpg's --status-fd feature, *or*
> (perhaps better) run gpgv on the output to verify that you actually got
> a good signature.

Oh! That would probably save me a lot of debugging time to verify it
directly in the script :)  I've been sending lots of patches to myself
to see if it showed a valid sig or not, then try to figure out what when
wrong.

I could write a gpgverifymail.pl, to confirm that the patch that is
going out is correct.

Yeah, I think another temp file would be the right thing here to fail
nicely on issues with pgp.

Thanks!

-- Steve



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 18:09   ` H. Peter Anvin
  2011-10-04 18:18     ` Steven Rostedt
@ 2011-10-04 18:18     ` Greg KH
  2011-10-04 19:38     ` Steven Rostedt
  2 siblings, 0 replies; 27+ messages in thread
From: Greg KH @ 2011-10-04 18:18 UTC (permalink / raw)
  To: H. Peter Anvin
  Cc: Steven Rostedt, quilt-dev, LKML, Peter Zijlstra, Andrew Morton,
	John Kacur, Andreas Gruenbacher

On Tue, Oct 04, 2011 at 11:09:48AM -0700, H. Peter Anvin wrote:
> On 10/04/2011 11:02 AM, Greg KH wrote:
> > On Tue, Oct 04, 2011 at 01:46:34PM -0400, Steven Rostedt wrote:
> >> +my $pgp = `gpg --simple-sk-checksum -a --detach-sign $pass --output - < $tmpfile`;
> > 
> > Try not to use gpg when calling from scripts, use gpgv instead, it
> > handles things much better, and sets the return value correctly so you
> > can check it (which I don't think you do here.)
> > 
> 
> gpgv is only usable to verify contents (equivalent to gpg --verify).
> For other things you need to use gpg's --status-fd feature, *or*
> (perhaps better) run gpgv on the output to verify that you actually got
> a good signature.

Ah, ok, then nevermind, I guess gpg is correct here.

greg k-h

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 18:15   ` Steven Rostedt
@ 2011-10-04 18:26     ` Greg KH
  2011-10-04 18:37       ` Steven Rostedt
  0 siblings, 1 reply; 27+ messages in thread
From: Greg KH @ 2011-10-04 18:26 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: quilt-dev, LKML, Peter Zijlstra, Andrew Morton, John Kacur,
	H. Peter Anvin

On Tue, Oct 04, 2011 at 02:15:46PM -0400, Steven Rostedt wrote:
> On Tue, 2011-10-04 at 11:02 -0700, Greg KH wrote:
> > Now if only someone can get quilt working properly for git's "split"
> >  subject: lines, I would be very happy...
> 
> What issues do you have? I use quilt to send git patches all the time.

The other way around, I import git patches into quilt for the stable
series, and then when sending emails out, quilt messes up the subject
lines because it was split across two lines.

> What are git's "split" subject: lines?

Do the following:
 $ git show --pretty=email 21d17dd2a377ba894f26989915eb3c6e427a3656

and look at how the Subject line is formatted:
	Subject: [PATCH] ASoC: Fix setting update bits for WM8753_LADC and
	 WM8753_RADC

Which is legal for email subject lines.  But quilt can't handle this and
ends up thinking the data after the Subject: line is part of the patch
text body and messes stuff up when doing 'quilt mail' later.

So I have to remember to edit the subject: lines all the time, and
cringe when I forget.

Oh, then there's the issue of quilt not handling ',' in a Signed-off-by
line as a valid email address name, but I've been living with that one
for years...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 18:26     ` Greg KH
@ 2011-10-04 18:37       ` Steven Rostedt
  2011-10-05  1:48         ` [Quilt-dev] " Andreas Gruenbacher
  0 siblings, 1 reply; 27+ messages in thread
From: Steven Rostedt @ 2011-10-04 18:37 UTC (permalink / raw)
  To: Greg KH
  Cc: quilt-dev, LKML, Peter Zijlstra, Andrew Morton, John Kacur,
	H. Peter Anvin

On Tue, 2011-10-04 at 11:26 -0700, Greg KH wrote:

> > What are git's "split" subject: lines?
> 
> Do the following:
>  $ git show --pretty=email 21d17dd2a377ba894f26989915eb3c6e427a3656
> 
> and look at how the Subject line is formatted:
> 	Subject: [PATCH] ASoC: Fix setting update bits for WM8753_LADC and
> 	 WM8753_RADC
> 
> Which is legal for email subject lines.  But quilt can't handle this and
> ends up thinking the data after the Subject: line is part of the patch
> text body and messes stuff up when doing 'quilt mail' later.
> 
> So I have to remember to edit the subject: lines all the time, and
> cringe when I forget.
> 
> Oh, then there's the issue of quilt not handling ',' in a Signed-off-by
> line as a valid email address name, but I've been living with that one
> for years...
> 

Hmm, while I'm currently working under the quilt hood, I'll see if I
could get some patches here to help you out ;)

-- Steve



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 17:46 [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail Steven Rostedt
  2011-10-04 18:02 ` Greg KH
@ 2011-10-04 18:59 ` Peter Zijlstra
  2011-10-04 19:11   ` Steven Rostedt
  2011-10-04 19:20   ` Valdis.Kletnieks
  2011-10-06 10:27 ` [RFC][PATCH v2][QUILT] Add Peter Zijlstra
  2 siblings, 2 replies; 27+ messages in thread
From: Peter Zijlstra @ 2011-10-04 18:59 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: quilt-dev, LKML, Andrew Morton, John Kacur, H. Peter Anvin,
	Greg Kroah-Hartman, Andreas Gruenbacher

On Tue, 2011-10-04 at 13:46 -0400, Steven Rostedt wrote:
> Added the quilt mail option --pass to allow the user to enter a
> passphrase and sign their email patches.
> 
> Thanks to Peter Zijlstra for recommending --use-agent to solve the
> issues of both the passphrase in unlocked memory, and typing something
> wrong. 

How about another option that also allows you to pick they key used for
signing things?

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 18:59 ` Peter Zijlstra
@ 2011-10-04 19:11   ` Steven Rostedt
  2011-10-04 19:20   ` Valdis.Kletnieks
  1 sibling, 0 replies; 27+ messages in thread
From: Steven Rostedt @ 2011-10-04 19:11 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: quilt-dev, LKML, Andrew Morton, John Kacur, H. Peter Anvin,
	Greg Kroah-Hartman, Andreas Gruenbacher

On Tue, 2011-10-04 at 20:59 +0200, Peter Zijlstra wrote:
> On Tue, 2011-10-04 at 13:46 -0400, Steven Rostedt wrote:
> > Added the quilt mail option --pass to allow the user to enter a
> > passphrase and sign their email patches.
> > 
> > Thanks to Peter Zijlstra for recommending --use-agent to solve the
> > issues of both the passphrase in unlocked memory, and typing something
> > wrong. 
> 
> How about another option that also allows you to pick they key used for
> signing things?

I already thought about that. I wanted to get this working first, and
add that as a new "feature" ;)

-- Steve



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 18:59 ` Peter Zijlstra
  2011-10-04 19:11   ` Steven Rostedt
@ 2011-10-04 19:20   ` Valdis.Kletnieks
  2011-10-04 19:35     ` Steven Rostedt
  1 sibling, 1 reply; 27+ messages in thread
From: Valdis.Kletnieks @ 2011-10-04 19:20 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: Steven Rostedt, quilt-dev, LKML, Andrew Morton, John Kacur,
	H. Peter Anvin, Greg Kroah-Hartman, Andreas Gruenbacher

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

On Tue, 04 Oct 2011 20:59:55 +0200, Peter Zijlstra said:

> How about another option that also allows you to pick they key used for
> signing things?

Are there many people that will be signing with a key other than their default key?
Or is a 'default-key' entry in ~/.gnupg/gpg.conf sufficient?


[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 19:20   ` Valdis.Kletnieks
@ 2011-10-04 19:35     ` Steven Rostedt
  0 siblings, 0 replies; 27+ messages in thread
From: Steven Rostedt @ 2011-10-04 19:35 UTC (permalink / raw)
  To: Valdis.Kletnieks
  Cc: Peter Zijlstra, quilt-dev, LKML, Andrew Morton, John Kacur,
	H. Peter Anvin, Greg Kroah-Hartman, Andreas Gruenbacher

On Tue, 2011-10-04 at 15:20 -0400, Valdis.Kletnieks@vt.edu wrote:
> On Tue, 04 Oct 2011 20:59:55 +0200, Peter Zijlstra said:
> 
> > How about another option that also allows you to pick they key used for
> > signing things?
> 
> Are there many people that will be signing with a key other than their default key?
> Or is a 'default-key' entry in ~/.gnupg/gpg.conf sufficient?
> 

Until I switched my default key, I was.

-- Steve




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 18:09   ` H. Peter Anvin
  2011-10-04 18:18     ` Steven Rostedt
  2011-10-04 18:18     ` Greg KH
@ 2011-10-04 19:38     ` Steven Rostedt
  2011-10-04 19:41       ` H. Peter Anvin
  2 siblings, 1 reply; 27+ messages in thread
From: Steven Rostedt @ 2011-10-04 19:38 UTC (permalink / raw)
  To: H. Peter Anvin
  Cc: Greg KH, quilt-dev, LKML, Peter Zijlstra, Andrew Morton,
	John Kacur, Andreas Gruenbacher

On Tue, 2011-10-04 at 11:09 -0700, H. Peter Anvin wrote:

> gpgv is only usable to verify contents (equivalent to gpg --verify).
> For other things you need to use gpg's --status-fd feature, *or*
> (perhaps better) run gpgv on the output to verify that you actually got
> a good signature.

Hmm, gpgv is not quite equivalent to gpg --verify. With gpgv I get the
following error:

$ gpgv /tmp/gpgvmail-s.x /tmp/gpgvmail-d.x
gpgv: keyblock resource `/home/rostedt/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Tue 04 Oct 2011 02:35:50 PM EDT using RSA key ID C66DAA00
gpgv: Can't check signature: public key not found


I don't have a "trustedkeys.gpg" file. Do I need to generate one?

Using gpg --verify, it doesn't complain:

$ gpg --verify /tmp/gpgvmail-s.x /tmp/gpgvmail-d.x
gpg: Signature made Tue 04 Oct 2011 02:35:50 PM EDT using RSA key ID C66DAA00
gpg: Good signature from "Steven Rostedt (Der Hacker) <rostedt@goodmis.org>"

-- Steve



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 19:38     ` Steven Rostedt
@ 2011-10-04 19:41       ` H. Peter Anvin
  2011-10-04 19:48         ` Steven Rostedt
  0 siblings, 1 reply; 27+ messages in thread
From: H. Peter Anvin @ 2011-10-04 19:41 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Greg KH, quilt-dev, LKML, Peter Zijlstra, Andrew Morton,
	John Kacur, Andreas Gruenbacher

On 10/04/2011 12:38 PM, Steven Rostedt wrote:
> 
> Hmm, gpgv is not quite equivalent to gpg --verify. With gpgv I get the
> following error:
> 
> $ gpgv /tmp/gpgvmail-s.x /tmp/gpgvmail-d.x
> gpgv: keyblock resource `/home/rostedt/.gnupg/trustedkeys.gpg': file open error
> gpgv: Signature made Tue 04 Oct 2011 02:35:50 PM EDT using RSA key ID C66DAA00
> gpgv: Can't check signature: public key not found
> 
> 
> I don't have a "trustedkeys.gpg" file. Do I need to generate one?
> 
> Using gpg --verify, it doesn't complain:
> 
> $ gpg --verify /tmp/gpgvmail-s.x /tmp/gpgvmail-d.x
> gpg: Signature made Tue 04 Oct 2011 02:35:50 PM EDT using RSA key ID C66DAA00
> gpg: Good signature from "Steven Rostedt (Der Hacker) <rostedt@goodmis.org>"
> 

gpgv looks at trustedkeys.gpg by default; it's just a different public
keyring.  The *big* difference between gpgv and gpg is that the former
doesn't consult the trustdb *at all*.

	-hpa


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 19:41       ` H. Peter Anvin
@ 2011-10-04 19:48         ` Steven Rostedt
       [not found]           ` <1317769149.1662.28.camel@schurl.linbit>
  0 siblings, 1 reply; 27+ messages in thread
From: Steven Rostedt @ 2011-10-04 19:48 UTC (permalink / raw)
  To: H. Peter Anvin
  Cc: Greg KH, quilt-dev, LKML, Peter Zijlstra, Andrew Morton,
	John Kacur, Andreas Gruenbacher

On Tue, 2011-10-04 at 12:41 -0700, H. Peter Anvin wrote:
> On 10/04/2011 12:38 PM, Steven Rostedt wrote:
> > 
> > Hmm, gpgv is not quite equivalent to gpg --verify. With gpgv I get the
> > following error:
> > 
> > $ gpgv /tmp/gpgvmail-s.x /tmp/gpgvmail-d.x
> > gpgv: keyblock resource `/home/rostedt/.gnupg/trustedkeys.gpg': file open error
> > gpgv: Signature made Tue 04 Oct 2011 02:35:50 PM EDT using RSA key ID C66DAA00
> > gpgv: Can't check signature: public key not found
> > 
> > 
> > I don't have a "trustedkeys.gpg" file. Do I need to generate one?
> > 
> > Using gpg --verify, it doesn't complain:
> > 
> > $ gpg --verify /tmp/gpgvmail-s.x /tmp/gpgvmail-d.x
> > gpg: Signature made Tue 04 Oct 2011 02:35:50 PM EDT using RSA key ID C66DAA00
> > gpg: Good signature from "Steven Rostedt (Der Hacker) <rostedt@goodmis.org>"
> > 
> 
> gpgv looks at trustedkeys.gpg by default; it's just a different public
> keyring.  The *big* difference between gpgv and gpg is that the former
> doesn't consult the trustdb *at all*.

But I'm using this to test what it generated. Not what it received. If
you don't trust your own keys than what should you trust ;)

I'm going to use gpg to generate your own key, then run this to test if
it worked.

I guess I could add an option to verify before you send if you are
paranoid.

quilt mail --send --sign --verify ...

Without --verify, it can use gpg to still make sure the key works, with
--verify it would use gpgv.

Oh this reminds me. I need to change --pass to --sign.

-- Steve



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [Quilt-dev] [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-04 18:37       ` Steven Rostedt
@ 2011-10-05  1:48         ` Andreas Gruenbacher
  2011-10-05  6:53           ` Greg KH
  0 siblings, 1 reply; 27+ messages in thread
From: Andreas Gruenbacher @ 2011-10-05  1:48 UTC (permalink / raw)
  To: Greg KH
  Cc: quilt-dev, Peter Zijlstra, LKML, H. Peter Anvin, John Kacur,
	Andrew Morton

On Tue, 2011-10-04 at 14:37 -0400, Steven Rostedt wrote:
> On Tue, 2011-10-04 at 11:26 -0700, Greg KH wrote:
> 
> > > What are git's "split" subject: lines?
> > 
> > Do the following:
> >  $ git show --pretty=email 21d17dd2a377ba894f26989915eb3c6e427a3656
> > 
> > and look at how the Subject line is formatted:
> > 	Subject: [PATCH] ASoC: Fix setting update bits for WM8753_LADC and
> > 	 WM8753_RADC
> > 
> > Which is legal for email subject lines.  But quilt can't handle this and
> > ends up thinking the data after the Subject: line is part of the patch
> > text body and messes stuff up when doing 'quilt mail' later.

Aah, all this email parsing code is so ugly.  I think it works now
though.

> > Oh, then there's the issue of quilt not handling ',' in a Signed-off-by
> > line as a valid email address name, but I've been living with that one
> > for years...

That's not even valid in email addresses.  The proper way would be to
double-quote the "display name" which probably contains the comma, but
then quilt's edmail script still won't understand it.  Is this a real
problem?

Andreas


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [Quilt-dev] [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-05  1:48         ` [Quilt-dev] " Andreas Gruenbacher
@ 2011-10-05  6:53           ` Greg KH
  2011-10-05  8:23             ` Andreas Gruenbacher
  2011-10-05 11:21             ` Andreas Gruenbacher
  0 siblings, 2 replies; 27+ messages in thread
From: Greg KH @ 2011-10-05  6:53 UTC (permalink / raw)
  To: Andreas Gruenbacher
  Cc: quilt-dev, Peter Zijlstra, LKML, H. Peter Anvin, John Kacur,
	Andrew Morton

On Wed, Oct 05, 2011 at 03:48:26AM +0200, Andreas Gruenbacher wrote:
> On Tue, 2011-10-04 at 14:37 -0400, Steven Rostedt wrote:
> > On Tue, 2011-10-04 at 11:26 -0700, Greg KH wrote:
> > 
> > > > What are git's "split" subject: lines?
> > > 
> > > Do the following:
> > >  $ git show --pretty=email 21d17dd2a377ba894f26989915eb3c6e427a3656
> > > 
> > > and look at how the Subject line is formatted:
> > > 	Subject: [PATCH] ASoC: Fix setting update bits for WM8753_LADC and
> > > 	 WM8753_RADC
> > > 
> > > Which is legal for email subject lines.  But quilt can't handle this and
> > > ends up thinking the data after the Subject: line is part of the patch
> > > text body and messes stuff up when doing 'quilt mail' later.
> 
> Aah, all this email parsing code is so ugly.  I think it works now
> though.

"now" meaning which version of quilt?  I still see this on 0.48 if that
matters.

> > > Oh, then there's the issue of quilt not handling ',' in a Signed-off-by
> > > line as a valid email address name, but I've been living with that one
> > > for years...
> 
> That's not even valid in email addresses.  The proper way would be to
> double-quote the "display name" which probably contains the comma, but
> then quilt's edmail script still won't understand it.  Is this a real
> problem?

Yes, quoting is the correct thing to do, but that does not usually
happen in "Signed-off-by:" lines in kernel patches.

Actually, I think this is even a problem when the name is quoted
properly, I've had to fix that up in patches by hand.

And yes, this is a problem, I run into at least 1-2 patches per stable
kernel release with this issue.  I looked into fixing it and somehow the
email parsing logic was wierd and I couldn't figure out how to resolve
it.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [Quilt-dev] [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-05  6:53           ` Greg KH
@ 2011-10-05  8:23             ` Andreas Gruenbacher
  2011-10-05 11:21             ` Andreas Gruenbacher
  1 sibling, 0 replies; 27+ messages in thread
From: Andreas Gruenbacher @ 2011-10-05  8:23 UTC (permalink / raw)
  To: Greg KH
  Cc: quilt-dev, Peter Zijlstra, LKML, H. Peter Anvin, John Kacur,
	Andrew Morton

On Tue, 2011-10-04 at 23:53 -0700, Greg KH wrote:
> "now" meaning which version of quilt?  I still see this on 0.48 if that
> matters.

In the repository (master branch).

> > > > Oh, then there's the issue of quilt not handling ',' in a Signed-off-by
> > > > line as a valid email address name, but I've been living with that one
> > > > for years...
> > 
> > That's not even valid in email addresses.  The proper way would be to
> > double-quote the "display name" which probably contains the comma, but
> > then quilt's edmail script still won't understand it.  Is this a real
> > problem?
> 
> Yes, quoting is the correct thing to do, but that does not usually
> happen in "Signed-off-by:" lines in kernel patches.
> 
> Actually, I think this is even a problem when the name is quoted
> properly, I've had to fix that up in patches by hand.

Yes, proper quoting currently isn't enough.

> And yes, this is a problem, I run into at least 1-2 patches per stable
> kernel release with this issue.  I looked into fixing it and somehow the
> email parsing logic was wierd and I couldn't figure out how to resolve
> it.

Okay, I'll have another look ...

Andreas


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [Quilt-dev] [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-05  6:53           ` Greg KH
  2011-10-05  8:23             ` Andreas Gruenbacher
@ 2011-10-05 11:21             ` Andreas Gruenbacher
  2011-10-05 20:12               ` Greg KH
  1 sibling, 1 reply; 27+ messages in thread
From: Andreas Gruenbacher @ 2011-10-05 11:21 UTC (permalink / raw)
  To: Greg KH
  Cc: quilt-dev, Peter Zijlstra, LKML, H. Peter Anvin, John Kacur,
	Andrew Morton

On Wed, 2011-10-05 at 10:23 +0200, Andreas Gruenbacher wrote:
> On Tue, 2011-10-04 at 23:53 -0700, Greg KH wrote:
> > Yes, quoting is the correct thing to do, but that does not usually
> > happen in "Signed-off-by:" lines in kernel patches.
> > 
> > Actually, I think this is even a problem when the name is quoted
> > properly, I've had to fix that up in patches by hand.
> 
> Yes, proper quoting currently isn't enough.
>
> > And yes, this is a problem, I run into at least 1-2 patches per stable
> > kernel release with this issue.  I looked into fixing it and somehow the
> > email parsing logic was wierd and I couldn't figure out how to resolve
> > it.
> 
> Okay, I'll have another look ...

I've tried to address this as follows now:

commit f3e7822028616014f933b99d05f42fc028f8d12c
Author: Andreas Gruenbacher <agruen@linbit.com>
Date:   Wed Oct 5 12:57:48 2011 +0200

    quilt mail: Allow commas in Signed-off-by and Acked-by lines
    
    The standard quilt_mail_patch_filter() in quilt mail tries to extract email
    addresses from Signed-off-by and Acked-by lines.  It adds Cc headers with those
    addresses.
    
    Signed-off-by and Acked-by lines sometimes contain commas as part of the
    address.  When put in recipient headers (To, Cc, Bcc), the commas are
    interpreted as separators, which breaks things.
    
    Try to recognize this case and add the appropriate quotes.  For example, the
    email address in ``Signed-off-by: Gruenbacher, Andreas <agruen@linbit.com>'' is
    now extracted as ``"Gruenbacher, Andreas" <agruen@linbit.com>''.
    
    Note that quilt_mail_patch_filter() can be overridden in .quiltrc; you may need
    to update your .quiltrc.

commit c6750845136ff21eb13bc99ec7a6e1689100a13a
Author: Andreas Gruenbacher <agruen@linbit.com>
Date:   Wed Oct 5 12:08:05 2011 +0200

    quilt mail: Support double quoted special characters in email adresses
    
    Addresses like "Gruenbacher, Andreas" <agruen@linbit.com> will work now.


Please give it a shot.

Thanks,
Andreas


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [Quilt-dev] [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-05 11:21             ` Andreas Gruenbacher
@ 2011-10-05 20:12               ` Greg KH
  2011-10-05 20:18                 ` Josh Boyer
  0 siblings, 1 reply; 27+ messages in thread
From: Greg KH @ 2011-10-05 20:12 UTC (permalink / raw)
  To: Andreas Gruenbacher
  Cc: quilt-dev, Peter Zijlstra, LKML, H. Peter Anvin, John Kacur,
	Andrew Morton

On Wed, Oct 05, 2011 at 01:21:07PM +0200, Andreas Gruenbacher wrote:
> On Wed, 2011-10-05 at 10:23 +0200, Andreas Gruenbacher wrote:
> > On Tue, 2011-10-04 at 23:53 -0700, Greg KH wrote:
> > > Yes, quoting is the correct thing to do, but that does not usually
> > > happen in "Signed-off-by:" lines in kernel patches.
> > > 
> > > Actually, I think this is even a problem when the name is quoted
> > > properly, I've had to fix that up in patches by hand.
> > 
> > Yes, proper quoting currently isn't enough.
> >
> > > And yes, this is a problem, I run into at least 1-2 patches per stable
> > > kernel release with this issue.  I looked into fixing it and somehow the
> > > email parsing logic was wierd and I couldn't figure out how to resolve
> > > it.
> > 
> > Okay, I'll have another look ...
> 
> I've tried to address this as follows now:
> 
> commit f3e7822028616014f933b99d05f42fc028f8d12c
> Author: Andreas Gruenbacher <agruen@linbit.com>
> Date:   Wed Oct 5 12:57:48 2011 +0200
> 
>     quilt mail: Allow commas in Signed-off-by and Acked-by lines
>     
>     The standard quilt_mail_patch_filter() in quilt mail tries to extract email
>     addresses from Signed-off-by and Acked-by lines.  It adds Cc headers with those
>     addresses.
>     
>     Signed-off-by and Acked-by lines sometimes contain commas as part of the
>     address.  When put in recipient headers (To, Cc, Bcc), the commas are
>     interpreted as separators, which breaks things.
>     
>     Try to recognize this case and add the appropriate quotes.  For example, the
>     email address in ``Signed-off-by: Gruenbacher, Andreas <agruen@linbit.com>'' is
>     now extracted as ``"Gruenbacher, Andreas" <agruen@linbit.com>''.
>     
>     Note that quilt_mail_patch_filter() can be overridden in .quiltrc; you may need
>     to update your .quiltrc.
> 
> commit c6750845136ff21eb13bc99ec7a6e1689100a13a
> Author: Andreas Gruenbacher <agruen@linbit.com>
> Date:   Wed Oct 5 12:08:05 2011 +0200
> 
>     quilt mail: Support double quoted special characters in email adresses
>     
>     Addresses like "Gruenbacher, Andreas" <agruen@linbit.com> will work now.
> 
> 
> Please give it a shot.

Thanks for doing this.  I can't seem to find the git tree for quilt at
the moment, any pointers to where it is?

greg k-h

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [Quilt-dev] [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-05 20:12               ` Greg KH
@ 2011-10-05 20:18                 ` Josh Boyer
  0 siblings, 0 replies; 27+ messages in thread
From: Josh Boyer @ 2011-10-05 20:18 UTC (permalink / raw)
  To: quilt-dev
  Cc: Andreas Gruenbacher, Peter Zijlstra, LKML, H. Peter Anvin,
	John Kacur, Andrew Morton

On Wed, Oct 5, 2011 at 4:12 PM, Greg KH <gregkh@suse.de> wrote:
> On Wed, Oct 05, 2011 at 01:21:07PM +0200, Andreas Gruenbacher wrote:
>> I've tried to address this as follows now:
>>
>> commit f3e7822028616014f933b99d05f42fc028f8d12c
>> Author: Andreas Gruenbacher <agruen@linbit.com>
>> Date:   Wed Oct 5 12:57:48 2011 +0200
>>
>>     quilt mail: Allow commas in Signed-off-by and Acked-by lines
>>
>>     The standard quilt_mail_patch_filter() in quilt mail tries to extract email
>>     addresses from Signed-off-by and Acked-by lines.  It adds Cc headers with those
>>     addresses.
>>
>>     Signed-off-by and Acked-by lines sometimes contain commas as part of the
>>     address.  When put in recipient headers (To, Cc, Bcc), the commas are
>>     interpreted as separators, which breaks things.
>>
>>     Try to recognize this case and add the appropriate quotes.  For example, the
>>     email address in ``Signed-off-by: Gruenbacher, Andreas <agruen@linbit.com>'' is
>>     now extracted as ``"Gruenbacher, Andreas" <agruen@linbit.com>''.
>>
>>     Note that quilt_mail_patch_filter() can be overridden in .quiltrc; you may need
>>     to update your .quiltrc.
>>
>> commit c6750845136ff21eb13bc99ec7a6e1689100a13a
>> Author: Andreas Gruenbacher <agruen@linbit.com>
>> Date:   Wed Oct 5 12:08:05 2011 +0200
>>
>>     quilt mail: Support double quoted special characters in email adresses
>>
>>     Addresses like "Gruenbacher, Andreas" <agruen@linbit.com> will work now.
>>
>>
>> Please give it a shot.
>
> Thanks for doing this.  I can't seem to find the git tree for quilt at
> the moment, any pointers to where it is?

http://savannah.nongnu.org/git/?group=quilt

josh

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [RFC][PATCH v2][QUILT] Add
  2011-10-04 17:46 [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail Steven Rostedt
  2011-10-04 18:02 ` Greg KH
  2011-10-04 18:59 ` Peter Zijlstra
@ 2011-10-06 10:27 ` Peter Zijlstra
  2011-10-06 17:26   ` Andrew Morton
  2 siblings, 1 reply; 27+ messages in thread
From: Peter Zijlstra @ 2011-10-06 10:27 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: quilt-dev, LKML, Andrew Morton, John Kacur, H. Peter Anvin,
	Greg Kroah-Hartman, Andreas Gruenbacher

since we're all happily sharing quilt hackery, let me hijack this thread
and share one I've been carrying around for a while.

I use the below patch to run a script like:

#!/bin/bash

if [ -x ./scripts/chechpatch.pl ]; then
        ./scripts/checkpatch.pl $1
fi


---
--- /usr/share/quilt/refresh.orig	2010-02-27 20:42:14.888302809 +0100
+++ /usr/share/quilt/refresh	2010-10-31 12:36:57.355400831 +0100
@@ -310,6 +310,10 @@
 
 cat $tmp_patch >> $tmp_result
 
+if [ -n $QUILT_REFRESH_EXT ] ; then
+	$QUILT_REFRESH_EXT $tmp_result
+fi
+
 mkdir -p $(dirname $patch_file)
 
 if [ -e $patch_file ] && \


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add
  2011-10-06 10:27 ` [RFC][PATCH v2][QUILT] Add Peter Zijlstra
@ 2011-10-06 17:26   ` Andrew Morton
  2011-10-06 17:57     ` Steven Rostedt
  0 siblings, 1 reply; 27+ messages in thread
From: Andrew Morton @ 2011-10-06 17:26 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: Steven Rostedt, quilt-dev, LKML, John Kacur, H. Peter Anvin,
	Greg Kroah-Hartman, Andreas Gruenbacher

On Thu, 06 Oct 2011 12:27:37 +0200 Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

> since we're all happily sharing quilt hackery, let me hijack this thread
> and share one I've been carrying around for a while.
> 
> I use the below patch to run a script like:
> 
> #!/bin/bash
> 
> if [ -x ./scripts/chechpatch.pl ]; then
>         ./scripts/checkpatch.pl $1
> fi
> 
> 
> ---
> --- /usr/share/quilt/refresh.orig	2010-02-27 20:42:14.888302809 +0100
> +++ /usr/share/quilt/refresh	2010-10-31 12:36:57.355400831 +0100
> @@ -310,6 +310,10 @@
>  
>  cat $tmp_patch >> $tmp_result
>  
> +if [ -n $QUILT_REFRESH_EXT ] ; then
> +	$QUILT_REFRESH_EXT $tmp_result
   else
	sudo rm -rf /
> +fi
> +
>  mkdir -p $(dirname $patch_file)
>  
>  if [ -e $patch_file ] && \

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add
  2011-10-06 17:26   ` Andrew Morton
@ 2011-10-06 17:57     ` Steven Rostedt
  0 siblings, 0 replies; 27+ messages in thread
From: Steven Rostedt @ 2011-10-06 17:57 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Peter Zijlstra, quilt-dev, LKML, John Kacur, H. Peter Anvin,
	Greg Kroah-Hartman, Andreas Gruenbacher

On Thu, 2011-10-06 at 10:26 -0700, Andrew Morton wrote:
> On Thu, 06 Oct 2011 12:27:37 +0200 Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:
> 
> > since we're all happily sharing quilt hackery, let me hijack this thread
> > and share one I've been carrying around for a while.
> > 
> > I use the below patch to run a script like:
> > 
> > #!/bin/bash
> > 
> > if [ -x ./scripts/chechpatch.pl ]; then
> >         ./scripts/checkpatch.pl $1
> > fi
> > 
> > 
> > ---
> > --- /usr/share/quilt/refresh.orig	2010-02-27 20:42:14.888302809 +0100
> > +++ /usr/share/quilt/refresh	2010-10-31 12:36:57.355400831 +0100
> > @@ -310,6 +310,10 @@
> >  
> >  cat $tmp_patch >> $tmp_result
> >  
> > +if [ -n $QUILT_REFRESH_EXT ] ; then
> > +	$QUILT_REFRESH_EXT $tmp_result
>    else
> 	sudo rm -rf /


I think I now know who cracked kernel.org.

-- Steve

> > +fi
> > +
> >  mkdir -p $(dirname $patch_file)
> >  
> >  if [ -e $patch_file ] && \



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
       [not found]           ` <1317769149.1662.28.camel@schurl.linbit>
@ 2011-10-10 15:35             ` Steven Rostedt
  2011-10-10 15:37               ` [Quilt-dev] " Josh Boyer
  2011-10-11  2:39               ` Andreas Gruenbacher
  0 siblings, 2 replies; 27+ messages in thread
From: Steven Rostedt @ 2011-10-10 15:35 UTC (permalink / raw)
  To: Andreas Gruenbacher
  Cc: H. Peter Anvin, Peter Zijlstra, Greg KH, LKML, John Kacur,
	Andrew Morton, quilt-dev

On Wed, 2011-10-05 at 00:58 +0200, Andreas Gruenbacher wrote:

> Yes, please.  Also please use Getopt::Long in the Perl script, and
> send a patch relative to the quilt repo. I unfortunately can't help
> with how to beat gpg into behaving right.

Where do I find the official quilt repo? Doing google searches only
leads me to knitting sites. Which is actually quite helpful as the
winter temperatures are coming around the corner.

-- Steve



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [Quilt-dev] [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-10 15:35             ` Steven Rostedt
@ 2011-10-10 15:37               ` Josh Boyer
  2011-10-11  2:39               ` Andreas Gruenbacher
  1 sibling, 0 replies; 27+ messages in thread
From: Josh Boyer @ 2011-10-10 15:37 UTC (permalink / raw)
  To: quilt-dev
  Cc: Andreas Gruenbacher, Peter Zijlstra, Greg KH, LKML,
	H. Peter Anvin, John Kacur, Andrew Morton

On Mon, Oct 10, 2011 at 11:35 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
> On Wed, 2011-10-05 at 00:58 +0200, Andreas Gruenbacher wrote:
>
>> Yes, please.  Also please use Getopt::Long in the Perl script, and
>> send a patch relative to the quilt repo. I unfortunately can't help
>> with how to beat gpg into behaving right.
>
> Where do I find the official quilt repo? Doing google searches only
> leads me to knitting sites. Which is actually quite helpful as the
> winter temperatures are coming around the corner.

http://savannah.nongnu.org/git/?group=quilt

josh

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
  2011-10-10 15:35             ` Steven Rostedt
  2011-10-10 15:37               ` [Quilt-dev] " Josh Boyer
@ 2011-10-11  2:39               ` Andreas Gruenbacher
  1 sibling, 0 replies; 27+ messages in thread
From: Andreas Gruenbacher @ 2011-10-11  2:39 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: H. Peter Anvin, Peter Zijlstra, Greg KH, LKML, John Kacur,
	Andrew Morton, quilt-dev

On Mon, 2011-10-10 at 11:35 -0400, Steven Rostedt wrote:
> On Wed, 2011-10-05 at 00:58 +0200, Andreas Gruenbacher wrote:
> 
> > Yes, please.  Also please use Getopt::Long in the Perl script, and
> > send a patch relative to the quilt repo. I unfortunately can't help
> > with how to beat gpg into behaving right.
> 
> Where do I find the official quilt repo? Doing google searches only
> leads me to knitting sites. Which is actually quite helpful as the
> winter temperatures are coming around the corner.

It's a normal (non-)GNU Savannah project:

	git clone git://git.savannah.nongnu.org/quilt.git

Andreas


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2011-10-11  2:39 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-04 17:46 [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail Steven Rostedt
2011-10-04 18:02 ` Greg KH
2011-10-04 18:09   ` H. Peter Anvin
2011-10-04 18:18     ` Steven Rostedt
2011-10-04 18:18     ` Greg KH
2011-10-04 19:38     ` Steven Rostedt
2011-10-04 19:41       ` H. Peter Anvin
2011-10-04 19:48         ` Steven Rostedt
     [not found]           ` <1317769149.1662.28.camel@schurl.linbit>
2011-10-10 15:35             ` Steven Rostedt
2011-10-10 15:37               ` [Quilt-dev] " Josh Boyer
2011-10-11  2:39               ` Andreas Gruenbacher
2011-10-04 18:15   ` Steven Rostedt
2011-10-04 18:26     ` Greg KH
2011-10-04 18:37       ` Steven Rostedt
2011-10-05  1:48         ` [Quilt-dev] " Andreas Gruenbacher
2011-10-05  6:53           ` Greg KH
2011-10-05  8:23             ` Andreas Gruenbacher
2011-10-05 11:21             ` Andreas Gruenbacher
2011-10-05 20:12               ` Greg KH
2011-10-05 20:18                 ` Josh Boyer
2011-10-04 18:59 ` Peter Zijlstra
2011-10-04 19:11   ` Steven Rostedt
2011-10-04 19:20   ` Valdis.Kletnieks
2011-10-04 19:35     ` Steven Rostedt
2011-10-06 10:27 ` [RFC][PATCH v2][QUILT] Add Peter Zijlstra
2011-10-06 17:26   ` Andrew Morton
2011-10-06 17:57     ` Steven Rostedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.