- 02 Dec, 2022 2 commits
-
-
Ophélie Gagnard authored
Syntax: KEY[>=,<=,>,<,=,:]VALUE VALUE is expected to be json dump except when the delimiter is ":" With ":" delimiter, accepted special words are "max" and "min". Selection: For the sake of lisibility, the shadir entries are preprocessed in order to eliminate invalid metadata. This is slower but the metadata is exepected to be small as each entry may require a database access on the server shacache side.
-
Ophélie Gagnard authored
-
- 24 Nov, 2022 1 commit
-
-
Ophélie Gagnard authored
-
- 22 Nov, 2022 1 commit
-
-
Ophélie Gagnard authored
-
- 05 Apr, 2022 1 commit
-
-
Julien Muchembled authored
-
- 30 Mar, 2022 4 commits
-
-
Thomas Gambier authored
Actually totally revert 08b53cb3 since there is no sense to get option from a file which is often inexisting where the user generate its key. Also add a warning message at the end.
-
Julien Muchembled authored
-
Julien Muchembled authored
See commit 08b53cb3. A signature-certificate-file configuration that is not used elsewhere is confusing.
-
Julien Muchembled authored
This fixes the following error on Python 3: TypeError: startswith first arg must be bytes or a tuple of bytes, not str
-
- 29 Mar, 2022 1 commit
-
-
Julien Muchembled authored
-
- 28 Mar, 2022 1 commit
-
-
Julien Muchembled authored
-
- 17 Mar, 2022 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
url would be more useful than file+urlmd5 (slapos.buildout will be changed this way) However, prevent the user from passing empty metadata inadvertently. Of course, that won't reject dummy information but it's unlikely there's nothing useful to add.
-
- 09 Mar, 2022 1 commit
-
-
Julien Muchembled authored
-
- 09 Dec, 2021 1 commit
-
-
Thomas Gambier authored
-
- 08 Dec, 2021 1 commit
-
-
Léo-Paul Géneau authored
Move `_verifySignatureInCertificateList` to a public method
-
- 28 Sep, 2021 2 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
-
- 12 Feb, 2020 2 commits
-
-
Łukasz Nowak authored
Note: Forgotten commit.
-
Łukasz Nowak authored
Append loaded_certificate in the try block, so it does not result with "UnboundLocalError: local variable 'loaded_certificate' referenced before assignment"
-
- 03 Dec, 2019 2 commits
-
-
Łukasz Nowak authored
python 3 compatibility
-
Łukasz Nowak authored
When list of signature certificates is processed any of them can result with not using a cache while download, which is bad situation. Just ignore bad certificates while checking the list, so any other good ones can be used. /reviewed-on !4
-
- 17 Sep, 2019 1 commit
-
-
Thomas Gambier authored
"context.set_ciphers('DEFAULT:@SECLEVEL=1')" was introduced in ab3b2c3b but for very old SSL we can have the follwoing error: Traceback (most recent call last): File "/usr/local/bin/networkcache-upload", line 9, in <module> load_entry_point('slapos.libnetworkcache==0.19', 'console_scripts', 'networkcache-upload')() File "/usr/local/lib/python2.7/dist-packages/slapos/libnetworkcache.py", line 489, in cmd_upload **dict(x.split('=', 1) for x in args.meta)) File "/usr/local/lib/python2.7/dist-packages/slapos/libnetworkcache.py", line 341, in upload 'Content-Type': 'application/octet-stream'}) File "/usr/local/lib/python2.7/dist-packages/slapos/libnetworkcache.py", line 264, in _request context.set_ciphers('DEFAULT:@SECLEVEL=1') # XXX ssl.SSLError: ('No cipher can be selected.',) /reviewed-on !3
-
- 03 Aug, 2019 2 commits
-
-
Yusei Tahara authored
-
Yusei Tahara authored
-
- 02 Aug, 2019 1 commit
-
-
Yusei Tahara authored
-
- 01 Aug, 2019 1 commit
-
-
Yusei Tahara authored
Add download auto retrying function. This is necessary because downloading binary cache often fails.
-
- 18 Jun, 2019 1 commit
-
-
Julien Muchembled authored
Traceback (most recent call last): ... File "/usr/lib/python3.7/http/client.py", line 1376, in __init__ context.load_cert_chain(cert_file, key_file) ssl.SSLError: [SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:3824)
-
- 07 Jun, 2019 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 07 Jan, 2019 1 commit
-
-
Jérome Perrin authored
As we can see today: AssertionError: ' 2119 ' not found in 'notAfter=Dec 14 00:54:31 2118 GMT\n')
-
- 04 Dec, 2018 2 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Since OpenSSL 1.1 those broken certificates became a problem during testing, so regenerate them with new OpenSSL. /reviewed-on !2
-
- 15 Jun, 2018 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 01 Sep, 2017 1 commit
-
-
Julien Muchembled authored
-
- 22 Jun, 2017 1 commit
-
-
Julien Muchembled authored
-
- 09 Jun, 2017 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-