X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=gpg-mailkeys%2Fgpg-mailkeys;h=d9ca25968dff3d540d237b40f0d23704ce1ddec2;hb=02b854237648861898b88b02809be3a81abcab93;hp=2eaeac0aedae17f44d9f23e6a421a2a24fe4c5f5;hpb=e348439be6e8237d8a22901dc82c3f6ff86c6fb0;p=pgp-tools.git diff --git a/gpg-mailkeys/gpg-mailkeys b/gpg-mailkeys/gpg-mailkeys index 2eaeac0..d9ca259 100755 --- a/gpg-mailkeys/gpg-mailkeys +++ b/gpg-mailkeys/gpg-mailkeys @@ -59,7 +59,7 @@ Subject: $SUBJECT User-Agent: gpg-mailkeys/$VERSION MIME-Version: 1.0 Content-Type: multipart/mixed; micalg=pgp-sha1; - protocol="application/pgp-signature"; boundary="$BOUNDARY" + boundary="$BOUNDARY" Content-Disposition: inline @@ -82,15 +82,15 @@ fi cat << EOM >> $TEMPFILE --$BOUNDARY -Content-Type: text/plain; charset=us-ascii -Content-Disposition: attachment; filename="$1.sig" +Content-Type: application/pgp-keys +Content-Disposition: attachment; filename="$1.asc" `gpg --armor --export $1` --$BOUNDARY-- EOM echo -n " sending" - /usr/sbin/sendmail -t <$TEMPFILE + /usr/sbin/sendmail -ti <$TEMPFILE rm $TEMPFILE echo " done." shift 1