Package: emacs
Version: 1:28.2+1-15
Severity: important

Hi,

Signing emails in emacs isn't working at all; I have I think set
things up in a conventional manner -

I have mml-smime-use set to epg (it's the default, I think)

I have a GPG agent running.

epa-list-secret-keys lists the key I'd expect:

  u 12F4D21C8F6A63C8 Matthew Vernon <[email protected]>

[cf gpg --list-secret-keys:

sec   rsa4096 2009-12-14 [SC]
      BA4EF9C84DF96D37D8A1E2D412F4D21C8F6A63C8
uid           [ultimate] Matthew Vernon <[email protected]>
uid           [ultimate] Matthew Vernon <[email protected]>
ssb   rsa4096 2009-12-14 [E]

]

But if I try and sign a message using MML (i.e. C-c C-m s which adds
--<<smime-signed>>-{
--}-<<smime-signed>>
round the mail as expected) then when I attempt to send, I get the
expected key selection buffer with the text
"Select keys for signing.
If no one is selected, default secret key is used.  
"

...but there are no keys available to select, and if I hit OK, then I
just get the error

GPG error: "Signing failed (unknown reason)"

...which I think is an artifact of MML having failed to find a
suitable key. But epa knows about my secret key, so this _ought_ to
work...

Thanks,

Matthew

-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages emacs depends on:
ii  emacs-lucid  1:28.2+1-15

emacs recommends no packages.

emacs suggests no packages.

-- no debconf information

Reply via email to