Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Dialyzer clean. | Linus Nordberg | 2015-05-06 | 3 | -20/+23 |
| | |||||
* | Remove an extra annoying debug log printout. | Linus Nordberg | 2015-04-10 | 1 | -3/+0 |
| | |||||
* | Fix copyright strings. | Linus Nordberg | 2015-04-09 | 6 | -6/+6 |
| | |||||
* | Verify that database entry actually contains the certificate | Magnus Ahltorp | 2015-04-07 | 1 | -3/+6 |
| | |||||
* | Cleanup tests and use urllib2.build_opener | Magnus Ahltorp | 2015-03-31 | 1 | -2/+14 |
| | | | | | | | | | Remove unused files Generate test config files directly in release directory Move test database files to "tests" directory Generate log key when preparing tests Report error when STH not found in v1.erl Make merge, fetchallcerts, submitcert, verifysct, and testcase1 take log key as argument | ||||
* | Allow non-TLS http | Magnus Ahltorp | 2015-03-31 | 2 | -17/+23 |
| | | | | Closes CATLFISH-31 | ||||
* | Provide function for calculating entryhash from entry | Magnus Ahltorp | 2015-03-27 | 1 | -0/+25 |
| | |||||
* | Store rejected certificates. | Linus Nordberg | 2015-03-25 | 1 | -52/+94 |
| | | | | | | | Not storing the full chain, which would be even more useful. No rate limiting, which would be good. Also, reorganise some in x509.erl and add tests. | ||||
* | Clarify that 0.test.pem is not a valid #'OTPCertificate'{}. | Linus Nordberg | 2015-03-24 | 1 | -14/+14 |
| | | | | Also some cosmetic changes. | ||||
* | Add spec's for most functions. | Linus Nordberg | 2015-03-23 | 2 | -11/+9 |
| | | | | NOTE: We're not dialyzer clean yet. | ||||
* | Formatting; remove debug printouts. | Linus Nordberg | 2015-03-23 | 2 | -49/+21 |
| | |||||
* | Add precert handling. | Linus Nordberg | 2015-03-23 | 3 | -160/+382 |
| | |||||
* | Cache SCT:s | Magnus Ahltorp | 2015-03-08 | 1 | -12/+31 |
| | |||||
* | Save STH instead of calculating a new one each time. | Magnus Ahltorp | 2015-03-04 | 1 | -10/+2 |
| | |||||
* | Added authentication between frontend and storage nodes | Magnus Ahltorp | 2015-02-27 | 1 | -4/+28 |
| | |||||
* | Fix a bug where verification of EC signatures made us crash. | Linus Nordberg | 2015-02-27 | 1 | -33/+40 |
| | | | | | Also, have valid_chain_p return boolean, add some debug logging and detect invalid signature types instead of crashing. | ||||
* | Verify that known roots are indeed signing themselves. | Linus Nordberg | 2015-02-27 | 2 | -22/+52 |
| | | | | | | | This filters out certificates with signing algorithms that we can't handle. Also, make unit tests better. | ||||
* | Even more debug logging. | Linus Nordberg | 2015-02-25 | 1 | -0/+3 |
| | |||||
* | Add debug logging. | Linus Nordberg | 2015-02-25 | 1 | -0/+5 |
| | | | | Trying to figure out why public_key:verify isn't found in docker images. | ||||
* | Log time spent serving a request | Magnus Ahltorp | 2015-02-20 | 1 | -0/+3 |
| | |||||
* | Make mochiweb pool size configurable | Magnus Ahltorp | 2015-02-20 | 1 | -0/+1 |
| | |||||
* | Stop validating that cert.issuer matches issuer.subject. | Linus Nordberg | 2015-02-20 | 1 | -46/+27 |
| | | | | | | | | | | Even canoncalized versions of this data mismatch in otherwise proper chains. Since we're not here to validate chains for any other reasons than attribution and spam control, let's stop validate cert.issuer==candidate.subject. We still verify the cryptographic chain with signatures of tbsCertificates of course. Resolves CATLFISH-19. | ||||
* | Make unit tests work again. | Linus Nordberg | 2015-02-19 | 4 | -28/+32 |
| | | | | Makefile target 'check' runs them. | ||||
* | Verify certificates by decoding them as 'plain' certs rather than 'otp. | Linus Nordberg | 2014-11-18 | 2 | -67/+201 |
| | | | | | | | OTP cert validation is too strict. Let's see if this is forgiving enough for our needs. Also, move all cert reading from disk to x509.erl. | ||||
* | Entry hash runs over leaf plus chain. | Linus Nordberg | 2014-11-18 | 1 | -2/+2 |
| | | | | Closes CATLFISH-5. | ||||
* | Log some info about certs that don't parse and why. | Linus Nordberg | 2014-11-05 | 2 | -11/+27 |
| | | | | Also move x509 specific code to the x509 module. | ||||
* | Rewrite root certificate cache handling | Magnus Ahltorp | 2014-10-26 | 3 | -18/+30 |
| | |||||
* | Stop using jiffy | Magnus Ahltorp | 2014-10-25 | 2 | -121/+107 |
| | |||||
* | Move internal HTTP APIs to mochiweb. | Magnus Ahltorp | 2014-10-25 | 2 | -8/+8 |
| | |||||
* | Whitespace. | Linus Nordberg | 2014-10-24 | 1 | -16/+19 |
| | | | | No long lines. | ||||
* | Use 'cacertfile' configuration. | Linus Nordberg | 2014-10-24 | 1 | -1/+2 |
| | |||||
* | Catch badly ASN.1-encoded certificates. | Linus Nordberg | 2014-10-24 | 2 | -18/+31 |
| | | | | | | Now not crashing badly encoded certs in the list of known roots, which is good. They're simply ignored. Next step is to figure out if we should accept some anomalies, due to reality. | ||||
* | Use mochiweb for v1 API | Magnus Ahltorp | 2014-10-24 | 4 | -56/+123 |
| | | | | | | Conflicts: catlfish.config src/v1.erl | ||||
* | Merge branch 'validate-certchain' into staging1 | Linus Nordberg | 2014-10-24 | 4 | -2/+371 |
|\ | | | | | | | | | Conflicts: src/catlfish.erl | ||||
| * | Log (info) when adding and rejecting a certificate chain.validate-certchain | Linus Nordberg | 2014-10-23 | 2 | -1/+9 |
| | | | | | | | | Writing to stdout for now, until we've decided on logging framework. | ||||
| * | Split CertChain properly. | Linus Nordberg | 2014-10-23 | 1 | -1/+1 |
| | | | | | | | | This way, Chain is always a list. | ||||
| * | Don't use der_encoded(). | Linus Nordberg | 2014-10-23 | 1 | -6/+5 |
| | | | | | | | | | | The type definition seem to have disappeared from public_key.hrl in R17 and I don't know how to conditionally define a type. | ||||
| * | Implement cert chain validation. | Linus Nordberg | 2014-10-22 | 4 | -2/+364 |
| | | | | | | | | NOTE: Presence of and constraints on names are not being validated. | ||||
* | | Break include dependency on plop.hrl | Magnus Ahltorp | 2014-10-24 | 2 | -8/+4 |
| | | |||||
* | | Add copyright and licensing information.copyright | Linus Nordberg | 2014-10-15 | 1 | -0/+3 |
|/ | | | | After offline discussions with Magnus Ahltorp. | ||||
* | Fix bug in get-entries limitation of entries. | Linus Nordberg | 2014-10-10 | 1 | -2/+1 |
| | |||||
* | Use proper return value format for plop:inclusion_and_entry(). | Linus Nordberg | 2014-10-10 | 1 | -1/+1 |
| | |||||
* | Limit get-entries to 1000 entries at the time. | Linus Nordberg | 2014-10-09 | 1 | -3/+2 |
| | |||||
* | Use raw file storage | Magnus Ahltorp | 2014-09-28 | 1 | -1/+1 |
| | |||||
* | Fix api problems | Magnus Ahltorp | 2014-09-27 | 2 | -14/+26 |
| | |||||
* | Fix api problems | Magnus Ahltorp | 2014-09-27 | 1 | -3/+3 |
| | |||||
* | wipplop-if-cleanup | Linus Nordberg | 2014-09-27 | 2 | -30/+123 |
| | |||||
* | Make cert chains and CtExtensions variable length (TLS) vectors. | Linus Nordberg | 2014-09-25 | 2 | -56/+64 |
| | | | | Also move some CT-specific code to new file catlfish.erl. | ||||
* | Start inets service automatically and update README.md with new build ↵ | Magnus Ahltorp | 2014-09-24 | 1 | -2/+0 |
| | | | | instructions | ||||
* | Merge branch 'map/releasemanagement' into master-origin | Linus Nordberg | 2014-09-22 | 1 | -0/+29 |
|\ | | | | | | | | | Conflicts: ebin/catlfish.app |