Re: pgp Sign as: config
On Mon, Apr 11, 2022 at 08:49:35PM +0200, Orm Finnendahl wrote: Am Montag, den 11. April 2022 um 10:33:57 Uhr (-0700) schrieb Kevin J. McCarthy: That's the part that makes no sense to me. Simply unsetting and resetting "sign" will just display the value of $pgp_sign_as. Did something else happen in your workflow? It's getting clearer thanks to your explanations: I was unaware of the difference of s/mime and pgp signing. The mail, I replied to was signed with s/mime, so replying to it set signing to (S/MIME). When unsetting and resetting it in my reply it gets set to (PGP/MIME), the key is set correctly and it works. It's not even possible to select s/(m)ime when selecting the encryption type manually even though it's displayed in the selection menu. Oh good, that explains what's happening! If you don't have S/MIME configured, you may want to add 'unset crypt_autosmime' to your .muttrc. I believe that will take care of the problem. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
Re: pgp Sign as: config
Hi Kevin, Am Montag, den 11. April 2022 um 10:33:57 Uhr (-0700) schrieb Kevin J. McCarthy: > > That's the part that makes no sense to me. Simply unsetting and > resetting "sign" will just display the value of $pgp_sign_as. Did > something else happen in your workflow? It's getting clearer thanks to your explanations: I was unaware of the difference of s/mime and pgp signing. The mail, I replied to was signed with s/mime, so replying to it set signing to (S/MIME). When unsetting and resetting it in my reply it gets set to (PGP/MIME), the key is set correctly and it works. It's not even possible to select s/(m)ime when selecting the encryption type manually even though it's displayed in the selection menu. Setting the smime_default_key to my Hex number in .muttrc results in the error, that a key of this hex number isn't found. I probably should either disable s/mime encryption altogether in a way that it doesn't even get chosen automatically when replying to a s/mime signed mail or set up s/mime encryption correctly, but at least now I know why it's failing. > > Also, what version of Mutt are you using? Mutt 2.2.2 (aa28abe8) (2022-03-25) on Arch Linux. -- Orm signature.asc Description: PGP signature
Re: pgp Sign as: config
Hi, Am Montag, den 11. April 2022 um 12:38:59 Uhr (-0400) schrieb José María Mateos: > I have my GPG options here: > > $ cat .gnupg/gpg.conf > default-key 263080EC > encrypt-to 263080EC Unfortunately this didn't work here (even after restart). I get the same error in mutt. -- Orm
Re: pgp Sign as: config
On Mon, Apr 11, 2022 at 06:09:01PM +0200, Orm Finnendahl wrote: when replying to a signed Email, my response Mail is automatically set to be signed by me. Are you doing that via $crypt_replysign or via some other method? Are you replying to a PGP-signed message to an S/MIME message? The behavior you are describing below is not normal, so I suspect something more is going on. The pgp line concerning my key says "sign as: " The compose menu will display this when $pgp_sign_as is unset. In that case, Mutt will use the value in $pgp_default_key, or what is configured in your gpg.conf. If neither of those are set, then I'm guessing this is the error returned by GPGME when it tries to sign with no key defined. Unsetting and then resetting Security to "sign" results in the line "sign as: 0xA1XX" with the value of my Hex pgp Key configured in my .muttrc as "set pgp_sign_as = 0xA1XXX" and everything works as expected. That's the part that makes no sense to me. Simply unsetting and resetting "sign" will just display the value of $pgp_sign_as. Did something else happen in your workflow? Also, what version of Mutt are you using? -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
Re: pgp Sign as: config
On Mon, Apr 11, 2022 at 06:09:01PM +0200, Orm Finnendahl wrote: How do I set the "" value that it uses my HexKey? I have my GPG options here: $ cat .gnupg/gpg.conf default-key 263080EC encrypt-to 263080EC There I declare what's my default key and I also tell it to always encrypt to me too if I send something encrypted. While checking my config I've seen that I'm also defining the key to use in .muttrc: set pgp_sign_as = 263080EC Hope this helps, -- José María (Chema) Mateos || https://rinzewind.org
pgp Sign as: config
Hi, when replying to a signed Email, my response Mail is automatically set to be signed by me. The pgp line concerning my key says "sign as: " which result in the following error when sending: "error signing data: General error?" Unsetting and then resetting Security to "sign" results in the line "sign as: 0xA1XX" with the value of my Hex pgp Key configured in my .muttrc as "set pgp_sign_as = 0xA1XXX" and everything works as expected. How do I set the "" value that it uses my HexKey? Best, Orm -- Prof. Orm Finnendahl Komposition Hochschule für Musik und Darstellende Kunst Eschersheimer Landstr. 29-39 60322 Frankfurt am Main https://www.youtube.com/watch?v=2rWha1HTfFE=PLiGfneJSWmNw6dTUvcTHbTkCYOOTiB_N6