all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: asjo@koldfront.dk (Adam Sjøgren)
Cc: 13193@debbugs.gnu.org
Subject: bug#13193: 24.3.50; EasyPG with Gnupg set up to use card reader; handling card not inserted
Date: Tue, 10 May 2022 14:25:40 +0200	[thread overview]
Message-ID: <87o805ingb.fsf@gnus.org> (raw)
In-Reply-To: <877goj1lb6.fsf@topper.koldfront.dk> ("Adam Sjøgren"'s message of "Sat, 15 Dec 2012 14:45:01 +0100")

asjo@koldfront.dk (Adam Sjøgren) writes:

> I have Gnupg set up to use a card reader which holds my private key.
>
> When I try to sign a region with EasyPG (starting "emacs -Q" and using
> M-x epa-sign-region), and haven't inserted my card in the reader, I get
> an error:
>
>   Signing...done
>   epa-sign-region: Wrong type argument: stringp, nil
>
> And the region is cut (i.e. disappears).
>
> If I M-x toggle-debug-on-error, the backtrace is this:
>
>   Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>     epa--decode-coding-string(nil utf-8-unix)
>     epa-sign-region(192 197 nil clear)

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I don't have a card reader, so I can't test this, but I extremely
vaguely remember reading somebody writing about this and that it worked.

Are you still seeing this issue in recent Emacs versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-05-10 12:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-15 13:45 bug#13193: 24.3.50; EasyPG with Gnupg set up to use card reader; handling card not inserted Adam Sjøgren
2022-05-10 12:25 ` Lars Ingebrigtsen [this message]
2022-05-10 16:58   ` Adam Sjøgren via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-11 11:32     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o805ingb.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=13193@debbugs.gnu.org \
    --cc=asjo@koldfront.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.