* url-auth, auth-sources and .authinfo.gpg
@ 2018-07-25 0:30 T.V Raman
0 siblings, 0 replies; only message in thread
From: T.V Raman @ 2018-07-25 0:30 UTC (permalink / raw)
To: emacs-devel
There appears to be inconsistency in behavior between auth-sources
(info ) the auth-sources implementation and module url-auth --- See
below.
Info: auth.info (node: help for users)
shows this example:
machine yourmachine.com:80 port http login testuser password testpass
url-auth uses the above format after parsing the url when it calls
(url-do-auth-source-search server type :user)
So http://yourmachine.com becomes
server: yourmachine.com:80 type http
But auth-source fails to find the token.
If you call auth-source-search like so:
(auth-source-search :host "yourmachine.com:80" :port "http") ;;; or
:port 80
it fails.
This call works:
(auth-source-search :host "yourmachine.com" :port "http")
--
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-25 0:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-25 0:30 url-auth, auth-sources and .authinfo.gpg T.V Raman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).