1. 21 Jul, 2011 5 commits
  2. 20 Jul, 2011 3 commits
    • Lucas Carvalho's avatar
      Allows to check multi trusted certificates. · 6376f720
      Lucas Carvalho authored
      Actually, the user can configure the buildout.cfg and set multiples
      certificates files.
      
      It means that libnetworkcache must be able to check if the signature
      which comes from shadir is trustable or not, based on these certificates.
      
      A given signature can not appear twice in the same directory-key, if it
      happens a DiretoryNotFound error must be raised.
      6376f720
    • Lucas Carvalho's avatar
      Added tests to signature.py. · c6f62c94
      Lucas Carvalho authored
      c6f62c94
    • Lucas Carvalho's avatar
      Renamed the parameters. · a4eed283
      Lucas Carvalho authored
      Renamed signature_public_file to signature_certificate_file, because the
      name is cleaner once the content of the file is a X509 certificate
      file. It is also known as Public Key Certificate.
      
      Renamed signature_private_file to signature_private_key_file, because
      the is is cleaner once the content of the file is a private RSA key.
      a4eed283
  3. 19 Jul, 2011 2 commits
    • Lucas Carvalho's avatar
      Updated setup.py with new dependencies. · 7bcff9e6
      Lucas Carvalho authored
      Actually, the slapos.libnetworkcache has new dependeincies because
      M2Cryto is required to handle the signatures inside NetworkcacheClient class
      and the argparse is required by signature.py script.
      7bcff9e6
    • Lucas Carvalho's avatar
      Added signature script. · 197d0c83
      Lucas Carvalho authored
      Now it is possible to create the signature files easily using the
      command generate-signature-key with the correct arguments.
      
      The command generate-signature-key works without any argument as well.
      
      To check the arguments you must run with the parameter --help/-h.
      
      It'll generate two file, one is a private key and the other is a
      X509 certificate file.
      
      Those files must be used by networkcache to play with signature.
      
      The private key is required to sign the message before uploading it to
      shadir. And the certification file is required to verify the signature.
      197d0c83
  4. 18 Jul, 2011 3 commits
  5. 08 Jul, 2011 1 commit
  6. 07 Jul, 2011 3 commits
  7. 06 Jul, 2011 1 commit
  8. 01 Jul, 2011 5 commits
  9. 30 Jun, 2011 5 commits
  10. 23 Jun, 2011 10 commits
  11. 22 Jun, 2011 2 commits