Searched refs:netrc (Results 1 - 11 of 11) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_netrc.py | 1 import netrc, os, unittest, sys, textwrap namespace 21 nrc = netrc.netrc(temp_filename) 57 self.assertRaises(netrc.NetrcParseError, self.make_nrc, 95 self.assertRaises(netrc.NetrcParseError, self.make_nrc, item) 282 fn = os.path.join(d, '.netrc') 291 nrc = netrc.netrc() 295 self.assertRaises(netrc.NetrcParseError, netrc [all...] |
/third_party/python/Lib/ |
H A D | netrc.py | 1 """An object-oriented interface to .netrc files.""" 7 __all__ = ["netrc", "NetrcParseError"] 11 """Exception raised on syntax errors in the .netrc file.""" 66 class netrc: class 70 file = os.path.join(os.path.expanduser("~"), ".netrc") 158 (f"~/.netrc file owner ({fowner}, {user}) does not match" 162 "~/.netrc access too permissive: access" 176 """Dump the class data in the format of a .netrc file.""" 192 print(netrc())
|
H A D | nntplib.py | 325 - usenetrc: allow loading username and password from ~/.netrc file 944 # If no login/password was specified but netrc was requested, 945 # try to get them from ~/.netrc 946 # Presume that if .netrc has an entry, NNRP authentication is required. 949 import netrc namespace 950 credentials = netrc.netrc()
|
H A D | ftplib.py | 936 import netrc namespace 944 # get name of alternate ~/.netrc file: 952 netrcobj = netrc.netrc(rcfile)
|
/third_party/curl/src/ |
H A D | tool_cfgable.h | 124 bool netrc; member
|
H A D | tool_getparam.c | 484 {"netrc", ARG_BOOL, 'n', C_NETRC}, 485 {"netrc-file", ARG_FILE, ' ', C_NETRC_FILE}, 486 {"netrc-optional", ARG_BOOL, ' ', C_NETRC_OPTIONAL}, 2406 case C_NETRC_OPTIONAL: /* --netrc-optional */ in getparameter() 2409 case C_NETRC_FILE: /* --netrc-file */ in getparameter() 2412 case C_NETRC: /* --netrc */ in getparameter() 2413 /* pick info from .netrc, if this is used for http, curl will in getparameter() 2415 config->netrc = toggle; in getparameter()
|
H A D | tool_operate.c | 1395 else if(config->netrc || config->netrc_file) in single_transfer()
|
/third_party/curl/tests/ |
H A D | runtests.pl | 789 $feature{"netrc"} = 1; 2743 if(($log =~ /^netrc\d+/) && ($log !~ /^netrc$testnum/)) {
|
/third_party/curl/lib/ |
H A D | urldata.h | 537 BIT(netrc); /* name+password provided by netrc */ 1562 $HOME/.netrc */
|
H A D | url.c | 66 #include "netrc.h" 2726 * option or a .netrc file, if applicable. 2748 conn->bits.netrc = FALSE; 2766 data->set.str[STRING_NETRC_FILE] : ".netrc")); 2769 failf(data, ".netrc parser error"); 2773 /* set bits.netrc TRUE to remember that we got the name from a .netrc 2776 conn->bits.netrc = TRUE;
|
H A D | http.c | 853 || conn->bits.netrc in Curl_http_output_auth()
|
Completed in 29 milliseconds