Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
FW: [DKIM] Re: Problem using authentication in a request
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Michael Felt via curl-library <curl-library_at_lists.haxx.se>
Date: Sat, 30 Apr 2022 14:07:16 +0200
Hello,
FYI: Not sure where it originates - but the 'milter' my ISP promotes (i.e., forces on me) - put all the mails from this list into the SPAM folder - with [DKIM] added to the subject.
The ISP _abuse_ team says the DKIM check is failing - and that is why it goes into SPAM.
Is this something related to the domain name change way back when - yet *.haex.se is still being used as domain for the list?
Anyway, I am regularly checking my SPAM folder, now that I know - but would be great if someone could check if the problem is the sender the list is sending "on behalf of", or from the list, or - not coming from us.
Regards,
Michael Felt
-----Original Message-----
From: curl-library <curl-library-bounces_at_lists.haxx.se> On Behalf Of Thierry Huchard via curl-library
Sent: Saturday, 30 April 2022 12:41
To: libcurl development <curl-library_at_lists.haxx.se>; Timothe Litt via curl-library <curl-library_at_lists.haxx.se>; curl-library_at_lists.haxx.se
Cc: Thierry Huchard <thierry_at_ordissimo.com>
Subject: [DKIM] Re: Problem using authentication in a request
I test as soon as I have access to the device again.
Thanks for your quick feedback.
Thierry
Le 30 avril 2022 12:19:48 GMT+02:00, Timothe Litt via curl-library <curl-library_at_lists.haxx.se> a écrit :
Perhaps the device isn't using Basic authentication. Or it requires TLS with basic.
If you enable authentication on the device, and omit the --user to cURL, you should get a 401 from the device.
What does the WWW-Authenticate header in that response show? It will include one or more acceptable authentication types as described n RFC 7235.
Besides basic, it could be digest, ntlm, bearer, hoba, negotiate, mutual, scram, ...
Timothe Litt
ACM Distinguished Engineer
--------------------------
This communication may not represent the ACM or my employer's views,
if any, on the matters discussed.
On 30-Apr-22 05:32, Thierry Huchard via curl-library wrote:
Hi All,
I am trying to create a job on a Canon IR DX C478i.
I have a problem when using curl with authentication:
* Mark bundle as not supporting multiuse
When I disable authentication the device works correctly.
Do you have any idea how to solve this problem?
///////////////////////////////////////////////////////////////
CAPABILITIES='<?xml version="1.0" encoding="UTF-8"?><scan:ScanSettings xmlns:pwg="http://www.pwg.org/schemas/2010/12/sm" <http://www.pwg.org/schemas/2010/12/sm> xmlns:scan="http://schemas.hp.com/imaging/escl/2011/05/03" <http://schemas.hp.com/imaging/escl/2011/05/03> ><pwg:Version>2.0</pwg:Version><pwg:ScanRegions><pwg:ScanRegion><pwg:ContentRegionUnits>escl:ThreeHundredthsOfInches</pwg:ContentRegionUnits><pwg:Height>2550</pwg:Height><pwg:Width>4200</pwg:Width><pwg:XOffset>0</pwg:XOffset><pwg:YOffset>0</pwg:YOffset></pwg:ScanRegion></pwg:ScanRegions><pwg:DocumentFormat>application/pdf</pwg:DocumentFormat><scan:DocumentFormatExt>application/pdf</scan:DocumentFormatExt><scan:ColorMode>RGB24</scan:ColorMode><scan:XResolution>300</scan:XResolution><scan:YResolution>300</scan:YResolution><pwg:InputSource>Platen</pwg:InputSource><scan:InputSource>Platen</scan:InputSource></scan:ScanSettings>'
root_at_jammy:~/hplip-3.21.12+dfsg0# <mailto:root@jammy:~/hplip-3.21.12+dfsg0#> curl -v --user 1234:12345 -d "$CAPABILITIES" http://192.168.93.209:80/eSCL/ScanJobs
* Trying 192.168.93.209:80...
* Connected to 192.168.93.209 (192.168.93.209) port 80 (#0)
* Server auth using Basic with user '1234'
POST /eSCL/ScanJobs HTTP/1.1
Host: 192.168.93.209
Authorization: Basic MTIzNDoxMjM0NQ==
User-Agent: curl/7.81.0
Accept: */*
Content-Length: 795
Content-Type: application/x-www-form-urlencoded
* Mark bundle as not supporting multiuse
< HTTP/1.1 500 Internal Server Error
< Date: Sat, 30 Apr 2022 09:50:40 GMT
< Server: CANON HTTP Server
< Content-Length: 0
<
* Connection #0 to host 192.168.93.209 left intact
/////////////////////////////////////////////////////////////////
Thank's
Thierry
Date: Sat, 30 Apr 2022 14:07:16 +0200
Hello,
FYI: Not sure where it originates - but the 'milter' my ISP promotes (i.e., forces on me) - put all the mails from this list into the SPAM folder - with [DKIM] added to the subject.
The ISP _abuse_ team says the DKIM check is failing - and that is why it goes into SPAM.
Is this something related to the domain name change way back when - yet *.haex.se is still being used as domain for the list?
Anyway, I am regularly checking my SPAM folder, now that I know - but would be great if someone could check if the problem is the sender the list is sending "on behalf of", or from the list, or - not coming from us.
Regards,
Michael Felt
-----Original Message-----
From: curl-library <curl-library-bounces_at_lists.haxx.se> On Behalf Of Thierry Huchard via curl-library
Sent: Saturday, 30 April 2022 12:41
To: libcurl development <curl-library_at_lists.haxx.se>; Timothe Litt via curl-library <curl-library_at_lists.haxx.se>; curl-library_at_lists.haxx.se
Cc: Thierry Huchard <thierry_at_ordissimo.com>
Subject: [DKIM] Re: Problem using authentication in a request
I test as soon as I have access to the device again.
Thanks for your quick feedback.
Thierry
Le 30 avril 2022 12:19:48 GMT+02:00, Timothe Litt via curl-library <curl-library_at_lists.haxx.se> a écrit :
Perhaps the device isn't using Basic authentication. Or it requires TLS with basic.
If you enable authentication on the device, and omit the --user to cURL, you should get a 401 from the device.
What does the WWW-Authenticate header in that response show? It will include one or more acceptable authentication types as described n RFC 7235.
Besides basic, it could be digest, ntlm, bearer, hoba, negotiate, mutual, scram, ...
Timothe Litt
ACM Distinguished Engineer
--------------------------
This communication may not represent the ACM or my employer's views,
if any, on the matters discussed.
On 30-Apr-22 05:32, Thierry Huchard via curl-library wrote:
Hi All,
I am trying to create a job on a Canon IR DX C478i.
I have a problem when using curl with authentication:
* Mark bundle as not supporting multiuse
When I disable authentication the device works correctly.
Do you have any idea how to solve this problem?
///////////////////////////////////////////////////////////////
CAPABILITIES='<?xml version="1.0" encoding="UTF-8"?><scan:ScanSettings xmlns:pwg="http://www.pwg.org/schemas/2010/12/sm" <http://www.pwg.org/schemas/2010/12/sm> xmlns:scan="http://schemas.hp.com/imaging/escl/2011/05/03" <http://schemas.hp.com/imaging/escl/2011/05/03> ><pwg:Version>2.0</pwg:Version><pwg:ScanRegions><pwg:ScanRegion><pwg:ContentRegionUnits>escl:ThreeHundredthsOfInches</pwg:ContentRegionUnits><pwg:Height>2550</pwg:Height><pwg:Width>4200</pwg:Width><pwg:XOffset>0</pwg:XOffset><pwg:YOffset>0</pwg:YOffset></pwg:ScanRegion></pwg:ScanRegions><pwg:DocumentFormat>application/pdf</pwg:DocumentFormat><scan:DocumentFormatExt>application/pdf</scan:DocumentFormatExt><scan:ColorMode>RGB24</scan:ColorMode><scan:XResolution>300</scan:XResolution><scan:YResolution>300</scan:YResolution><pwg:InputSource>Platen</pwg:InputSource><scan:InputSource>Platen</scan:InputSource></scan:ScanSettings>'
root_at_jammy:~/hplip-3.21.12+dfsg0# <mailto:root@jammy:~/hplip-3.21.12+dfsg0#> curl -v --user 1234:12345 -d "$CAPABILITIES" http://192.168.93.209:80/eSCL/ScanJobs
* Trying 192.168.93.209:80...
* Connected to 192.168.93.209 (192.168.93.209) port 80 (#0)
* Server auth using Basic with user '1234'
POST /eSCL/ScanJobs HTTP/1.1
Host: 192.168.93.209
Authorization: Basic MTIzNDoxMjM0NQ==
User-Agent: curl/7.81.0
Accept: */*
Content-Length: 795
Content-Type: application/x-www-form-urlencoded
* Mark bundle as not supporting multiuse
< HTTP/1.1 500 Internal Server Error
< Date: Sat, 30 Apr 2022 09:50:40 GMT
< Server: CANON HTTP Server
< Content-Length: 0
<
* Connection #0 to host 192.168.93.209 left intact
/////////////////////////////////////////////////////////////////
Thank's
Thierry
-- Envoyé de mon appareil Android avec Courriel Ordissimo Mail. Veuillez excuser ma brièveté. -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-04-30