From: Kevin Brubeck Unhammer <unhammer@fsfe.org>
To: 56972@debbugs.gnu.org
Subject: bug#56972: 29.0.50; nntp-send-authinfo error because netrc-parse can't handle multibytes
Date: Thu, 04 Aug 2022 14:04:54 +0200 [thread overview]
Message-ID: <87pmhg8ba1.fsf@trigram.no> (raw)
nntp-send-authinfo uses netrc-parse to parse ~/.authinfo.gpg, but
netrc-parse (unlike auth-source) uses base64-encode-string which as of
https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-12/msg01599.html
throws an error if it sees a multibyte. So if there's a multibyte
somewhere in the netrc file, we get this on trying to connect with nntp
Unable to open server gmane due to: Multibyte character in data for base64 encoding
(even if we don't use any auth info for connecting).
I'm guessing nntp-send-authinfo could be changed to using
auth-source-netrc-parse, though I don't actually use authinfo for
connecting to nntp so I have no way to test that use-case.
next reply other threads:[~2022-08-04 12:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-04 12:04 Kevin Brubeck Unhammer [this message]
2022-08-04 13:38 ` bug#56972: 29.0.50; nntp-send-authinfo error because netrc-parse can't handle multibytes Lars Ingebrigtsen
2022-08-05 8:09 ` Kevin Brubeck Unhammer
2022-08-05 11:58 ` 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=87pmhg8ba1.fsf@trigram.no \
--to=unhammer@fsfe.org \
--cc=56972@debbugs.gnu.org \
/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.