[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
url-auth, auth-sources and .authinfo.gpg
From: |
T.V Raman |
Subject: |
url-auth, auth-sources and .authinfo.gpg |
Date: |
Tue, 24 Jul 2018 17:30:12 -0700 |
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")
--
--
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- url-auth, auth-sources and .authinfo.gpg,
T.V Raman <=