* gpg-mailkeys: use right content-type for attached key,
[pgp-tools.git] / gpg-mailkeys / gpg-mailkeys
index ec45dfa317e337eac20bb23d2cb8c325ff5ef559..d9ca25968dff3d540d237b40f0d23704ce1ddec2 100755 (executable)
@@ -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,8 +82,8 @@ 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`