Sergey M․
7d2b4aa047
Respect --prefer-insecure while updating ( closes #15497 )
7 years ago
Sergey M․
e9297256d4
[update] Fix youtube-dl.exe updating from arbitrary directory ( Closes #2718 )
9 years ago
Sergey M․
611c1dd96e
[refactor] Single quotes consistency
9 years ago
Filippo Valsorda
4d318be195
[update] fix (unexploitable) BB'06 vulnerability in rsa_verify
...
The rsa_verify code was vulnerable to a BB'06 attack, allowing to forge
signatures for arbitrary messages if and only if the public key exponent is
3. Since the updates key is hardcoded to 65537, there is no risk for
youtube-dl, but I don't want vulnerable code in the wild.
The new function adopts a way safer approach of encoding-and-comparing to
replace the dangerous parsing code.
9 years ago
Sergey M․
c0384f221e
Use proper encoding on compat_str construction when necessary
9 years ago
David Ben Zakai
828b2a5cd9
Removing an unnecessary import
9 years ago
David Ben Zakai
d3d3e2e3aa
Adding proxy to update procedure
9 years ago
Jaime Marquínez Ferrándiz
de390ea077
update: Use https for getting the version info ( fixes #5909 )
10 years ago
Jaime Marquínez Ferrándiz
70a1165b32
Don't use bare 'except:'
...
They catch any exception, including KeyboardInterrupt, we don't want to catch it.
10 years ago
Philipp Hagemeister
be4a824d74
Add new option --source-address
...
Closes #3618 , fixes #721 , fixes #2481 , fixes #4551 , closes #1020 .
10 years ago
Philipp Hagemeister
aa2fd59857
[update] Use utils HTTPS handler ( Fixes #4666 )
...
On FreeBSD, the default HTTPS handler is missing certificates, so use our own.
10 years ago
Jaime Marquínez Ferrándiz
83e865a370
Fix PEP8 issue E713
10 years ago
Philipp Hagemeister
673cf0e773
[update] Remove useless import
10 years ago
Philipp Hagemeister
15938ab67a
[update] Modernize
10 years ago
Jouke Waleson
2514d2635e
PEP8: E225,E227
10 years ago
Jouke Waleson
8bcc875676
PEP8: more applied
10 years ago
Jouke Waleson
5f6a1245ff
PEP8 applied
10 years ago
Philipp Hagemeister
18a25c5d78
Clarify update output ( Fixes #2205 )
...
No, we are not intentionally hiding the version number. Why would we?
11 years ago
Philipp Hagemeister
2e767313e4
[update] fix error
11 years ago
Philipp Hagemeister
d7386f6276
[update] Check if version from repository is newer before updating
...
Closes #1704
11 years ago
Philipp Hagemeister
0b63aed8df
[update] do not assign to unused variables
11 years ago
Philipp Hagemeister
ce02ed60f2
Remove * imports
11 years ago
Philipp Hagemeister
d279037036
[update] Prevent cmd window popup on Windows ( Fixes #1478 )
11 years ago
Philipp Hagemeister
46353f6783
[update] Look for .exe extension on Windows ( Fixes #745 )
11 years ago
Philipp Hagemeister
f9bd64c098
[update] Add package manager to error message ( #959 )
12 years ago
Philipp Hagemeister
46a127eecb
Fix print_notes
12 years ago
Ricardo Garcia
43ff1a347d
Change rg3.github.com to rg3.github.io almost everywhere
12 years ago
Philipp Hagemeister
12887875a2
Fix typo
12 years ago
Philipp Hagemeister
3bf79c752e
Print *all* release notes
12 years ago
Filippo Valsorda
d5ed35b664
moved updating code to update.py
12 years ago