1. 27 Jun, 2020 4 commits
    • Vincent Pelletier's avatar
      WIP all: Refuse to renew too-young certificates. · 2c1f9099
      Vincent Pelletier authored
      Makes it harder for a compromised certificate to escape revocation by
      renewing itself faster than it can be identified and revoked.
      
      TODO:
      - fix tests
      - coverage
      - maybe just refuse to renew any cert more than once, to prevent
        "lineage forks" without introducing such new deadline ? (probably not
        a good idea, losing one's certificate happens and should not cause
        such punishment)
      - only enable for CAU certificates ?
      - distinguish issuance tracking between renewal and user issuance ?
      - auto-revoke certificates issued by renewal, but not those issued by user
        cert ?
      - 10 days is way too long. above an hour it will get in the way, and
        revoking multiple should not take too long... if there was a way to
        recognise serials (cf. previous commit)
      2c1f9099
    • Vincent Pelletier's avatar
      all: Keep track of certificate issuances. · 5fe1e86b
      Vincent Pelletier authored
      And use this tracking to to warn about surviving certificates which are
      related to the one just revoked - they may need some attention too.
      
      NOTE: While this should be correctly implemented, I think this is not
      usable, and hence probably not worth the extra complexity: what can one
      do when given a list of serials ? This version discards old tracking
      entries, but even if it did not how is one supposed to browse these ?
      5fe1e86b
    • Vincent Pelletier's avatar
      228e01d7
    • Vincent Pelletier's avatar
      2f97ed32
  2. 26 Jun, 2020 9 commits
  3. 25 Jun, 2020 9 commits
  4. 24 Jun, 2020 5 commits
  5. 23 Jun, 2020 5 commits
  6. 22 Jun, 2020 2 commits
    • Vincent Pelletier's avatar
      test: Fix a few coverage pragma. · 09be616d
      Vincent Pelletier authored
      09be616d
    • Vincent Pelletier's avatar
      {ca,text}: Fix from_issuer_subject_key_identifier usage. · 3369b98b
      Vincent Pelletier authored
      Resolve deprecation warnings in tests:
      caucase/ca.py:548: CryptographyDeprecationWarning: Extension objects are deprecated as arguments to from_issuer_subject_key_identifier and support will be removed soon. Please migrate to passing a SubjectKeyIdentifier directly.
        critical=False,
      caucase/ca.py:326: CryptographyDeprecationWarning: Extension objects are deprecated as arguments to from_issuer_subject_key_identifier and support will be removed soon. Please migrate to passing a SubjectKeyIdentifier directly.
        x509.SubjectKeyIdentifier,
      caucase/test.py:422: CryptographyDeprecationWarning: Extension objects are deprecated as arguments to from_issuer_subject_key_identifier and support will be removed soon. Please migrate to passing a SubjectKeyIdentifier directly.
        critical=False,
      3369b98b
  7. 15 Jun, 2020 1 commit
  8. 06 Jun, 2020 1 commit
  9. 04 Jun, 2020 3 commits
  10. 06 May, 2020 1 commit
    • Kirill Smelkov's avatar
      fixup! all: Update license and copyright. · 3a00d7bf
      Kirill Smelkov authored
      Rerun with updated nxd-relicense. This actually changes license text in
      every file.
      
      Before:
      
      	W: caucase/__init__.py: cannot find license start
      	W: caucase/_version.py: no copyright
      	W: caucase/ca.py: cannot find license start
      	W: caucase/cli.py: cannot find license start
      	W: caucase/client.py: cannot find license start
      	W: caucase/exceptions.py: cannot find license start
      	W: caucase/http.py: cannot find license start
      	W: caucase/http_wsgibase.py: cannot find license start
      	W: caucase/storage.py: cannot find license start
      	W: caucase/test.py: cannot find license start
      	W: caucase/utils.py: cannot find license start
      	W: caucase/version.py: cannot find license start
      	W: caucase/wsgi.py: cannot find license start
      	W: setup.py: cannot find license start
      	W: shell/caucase.sh: cannot find license start
      	W: versioneer.py: no copyright
      
      After:
      
      	W: caucase/_version.py: no copyright
      	W: versioneer.py: no copyright
      3a00d7bf