- 31 Aug, 2011 1 commit
-
-
Łukasz Nowak authored
Squashed commit of the following: commit 390841c31c900117ee1bcd96fdb685abc67640ba Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Aug 31 15:00:25 2011 +0200 Separated SSL test server. commit 71293ace2e87ba0a7d58261ac37ce203d1660da5 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Aug 31 14:57:58 2011 +0200 SSL auth shall not be used for download. commit 9c9decdf247b13b46b1d00977b06060af668ad24 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Aug 31 14:45:01 2011 +0200 Skip some tests. commit 8ef48e73192e44563ba21358ab684419d4fc8b70 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Aug 31 10:26:59 2011 +0200 PEP8ised. commit 260e0951d724be3f81df25ef7f9fce5d8922be89 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Aug 31 10:25:35 2011 +0200 Implement tests. commit 8900f71910210e14d5af92189bb1ab92fb75c069 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Aug 31 10:22:18 2011 +0200 Implement ssl based tests. Unfortunately no internal SSL server with authentication is available. commit e1818af334ee572838a04d384f5088fef9b9af7f Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Aug 30 15:56:17 2011 +0200 Provide authnetication SSL keys. Also import some CA certificte which validates them. commit 8b5ee8652975b252623c19be5416812b22bf916c Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Aug 30 15:39:12 2011 +0200 Mark tests to be implemented. commit ebce98a58171d90008bd172036642cb04c00ffa8 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Aug 30 15:37:36 2011 +0200 Test that auth key and cert are accepted. Assertion simplified to checking that they are set. commit 1dc200d15a09d91366962b0d248191d4289304cc Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Aug 30 15:34:00 2011 +0200 Share key and certificate between tests. commit eb870df4ed55c595519843c32103ca5d3b9fe24a Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Aug 30 15:30:22 2011 +0200 Implement SSL based authentication. Accept key and certificate and pass them in case of using https scheme while putting content to shacache and shadir. commit ac219f335e687659a2e28719044d7c8267d1dfce Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Aug 30 14:21:24 2011 +0200 Expose authentication parameters. commit 1b960b07504a390cc1ecdfd598f4148753176447 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Aug 30 14:19:45 2011 +0200 Describe parameters. commit 2a0186478a5c699ac77fa526f31b5a5a92069f72 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Aug 30 14:17:27 2011 +0200 Reformat parameter list.
-
- 25 Aug, 2011 6 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 24 Aug, 2011 16 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Except list of PEM encoded certificate strings. Do not try to read them from file nor download from network. Also fix few naming errors.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Compat: Put key as first argument. Spec: In case of passing key (and updating shadir) require urlmd5 too.
-
- 23 Aug, 2011 5 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Key is given by the library user. It has no internal meaning.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 22 Aug, 2011 12 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Note: Soon the best *one* module will be selected.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Required parameters are: * file: the name of the file * urlmd5: mdsum of orginal url * sha512: the hash (sha512) of the file content Optional ones: * valid-until: the date which the file must be expired * architecture: computer architecture
-
Łukasz Nowak authored
-
Łukasz Nowak authored
And use this hash to check if upload was successful or not.
-
Łukasz Nowak authored
In order to create subresource of /path/ it is required to use POST not PUT. References: * http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5 * http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6
-