bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #66441] Wget doesn't use .netrc when --certificate is set


From: anonymous
Subject: [bug #66441] Wget doesn't use .netrc when --certificate is set
Date: Thu, 14 Nov 2024 12:43:24 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?66441>

                 Summary: Wget doesn't use .netrc when --certificate is set
                   Group: GNU Wget
               Submitter: None
               Submitted: Thu 14 Nov 2024 05:43:22 PM UTC
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name:
        Originator Email: mseebold@nvidia.com
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.20
        Operating System: GNU/Linux
         Reproducibility: Every Time
           Fixed Release: None
         Planned Release: None
              Regression: None
           Work Required: None
          Patch Included: No


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 14 Nov 2024 05:43:22 PM UTC By: Anonymous
= Steps to reproduce =


$ strace -e trace=file wget 'https://www.nvidia.com' 2>&1 | grep netrc
stat("/home/mseebold/.netrc", {st_mode=S_IFREG|0600, st_size=5427, ...}) = 0
openat(AT_FDCWD, "/home/mseebold/.netrc", O_RDONLY) = 3

vs.

$ strace -e trace=file wget --certificate 'https://www.nvidia.com' 2>&1 | grep
netrc
<empty stdout>


= Observed Behavior =
wget doesn't read ~/.netrc if --certificate is set.

= Expected behavior =
wget reads ~/.netrc weather --certificate is set or not.

= Version =

$ wget --version
GNU Wget 1.20.3 built on linux-gnu.

-cares +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls
+ntlm +opie +psl +ssl/openssl

Wgetrc:
    /etc/wgetrc (system)
Locale:
    /usr/share/locale
Compile:
    gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
    -DLOCALEDIR="/usr/share/locale" -I. -I../../src -I../lib
    -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_LIBSSL -DNDEBUG
    -g -O2 -fdebug-prefix-map=/build/wget-goaWaw/wget-1.20.3=.
    -fstack-protector-strong -Wformat -Werror=format-security
    -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall
Link:
    gcc -DHAVE_LIBSSL -DNDEBUG -g -O2
    -fdebug-prefix-map=/build/wget-goaWaw/wget-1.20.3=.
    -fstack-protector-strong -Wformat -Werror=format-security
    -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall -Wl,-Bsymbolic-functions
    -Wl,-z,relro -Wl,-z,now -lpcre2-8 -luuid -lidn2 -lssl -lcrypto -lz
    -lpsl ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a

Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
Please send bug reports and questions to <bug-wget@gnu.org>.









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66441>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]