aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add encryption for the SQLite sessions databaselloyd2012-03-224-54/+163
|
* propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-03-2216-57/+456
|\ | | | | | | | | | | 6bcbae3d22e4d873a8e941d0325ad666482ac4da) to branch 'net.randombit.botan.tls-session-ticket' (head 9048722b5d18b39cf21f8542942dab94a9bd4e6b)
| * Server side handling of session tickets, though currently with alloyd2012-03-227-33/+106
| | | | | | | | hard-coded key.
| * Working client-side session tickets. Tested against gmail.com andlloyd2012-03-226-17/+37
| | | | | | | | OpenSSL 1.0.1-beta2 running on localhost.
| * Correct ticket decoding/encodinglloyd2012-03-221-5/+6
| |
| * Add missing source file for New_Session_Ticket msglloyd2012-03-221-0/+39
| |
| * propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-03-225-3/+313
| |\ | | | | | | | | | | | | | | | f761c340d4390c232d1a9896f3fde5c9dec7858b) to branch 'net.randombit.botan.tls-session-ticket' (head bf9feb245aa7185e22948a21a3099acac7237b44)
| * | Basic protocol message flow for session ticketslloyd2012-03-2011-64/+120
| | |
| * | Small fixes, cleanupslloyd2012-03-195-9/+22
| | |
| * | Various merge fixups.lloyd2012-03-165-47/+58
| | | | | | | | | | | | | | | Use AES-256 so we don't encrypt session tickets with a weaker algo than the ciphersuites.
| * | propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-03-167-4/+190
| |\ \ | | | | | | | | | | | | | | | | | | | | 9a12f28252f9b0a051a85c4647679a715161d06c) to branch 'net.randombit.botan.tls-session-ticket' (head ebf45d24a44fb4d1e66e59fe8abefe6f8a53cf02)
| | * \ propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-03-1683-2328/+4962
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | c24b5d6b012131b177d38bddb8b06d73f81f70c4) to branch 'net.randombit.botan.tls-session-ticket' (head 9977d4c118e1ac26425cef676ebf26cd5b2a470e)
| | * | | Build fixeslloyd2012-01-114-11/+20
| | | | |
| | * | | Outline of RFC 5077 session ticketslloyd2012-01-115-3/+170
| | | | |
* | | | | Add some helper functions for data accesslloyd2012-03-221-22/+33
| |_|_|/ |/| | |
* | | | Reorder schema and make the session id a primary key since it shouldlloyd2012-03-221-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | not only be unique but fast searches on it are likely useful. Not bothering to put an index on the (hostname,hostport) tuple as it's only used by clients on initial connection, and even at a 10K rows that search wouldn't take long at all.
* | | | Oops, libsqlite is sqlite2, link to libsqlite3lloyd2012-03-221-1/+1
| | | |
* | | | Expire old sessions and limit the cache size in the sqlite session manager.lloyd2012-03-222-16/+62
| | | | | | | | | | | | | | | | | | | | Also when pulling a session via host info, try the most recent session first (rather than the oldest!).
* | | | First rev at a SQLite TLS session manager. Should be encrypting thelloyd2012-03-223-0/+265
| | | | | | | | | | | | | | | | | | | | | | | | sessions; will defer until session ticket support lands. Also currently isn't handling session expiry or limiting the number of stored sessions.
* | | | Remove extra BER_Decoder objectlloyd2012-03-221-2/+0
| | | |
* | | | Off by one in decode_constrained_integer, broke Session DER decodinglloyd2012-03-221-1/+2
|/ / /
* | / Add missing source for DTLS hello verifylloyd2012-03-161-0/+61
| |/ |/|
* | Add SecureQueue::emptylloyd2012-03-079-27/+56
| | | | | | | | | | | | Hide the handshake reader behind a function. Add pieces for DTLS hello verify request message
* | Add an abstraction for reading handshake messages (as DTLS handles itlloyd2012-03-0514-91/+215
| | | | | | | | | | | | | | | | quite differently). Avoid using a queue for reading certificates. Hide the version code in the handshake state with a getter and setter.
* | Move the handshake serialization code to Record_Writerlloyd2012-03-0311-39/+44
| |
* | Move min_version and pref_version to the source file so they can belloyd2012-03-022-4/+12
| | | | | | | | | | overridden easily in a new release without changing binaries linked against an earlier version.
* | Bad conditionallloyd2012-02-281-1/+1
| |
* | We would call the handshake callback twice on session resumption:lloyd2012-02-281-20/+19
| | | | | | | | misplaced braces.
* | Add makefile dependency on credentials.h. Use 1024 bit keys forlloyd2012-02-273-11/+19
| | | | | | | | RSA/DSA. Add function for choosing thread count.
* | Indentationlloyd2012-02-276-38/+38
| |
* | Create and save certs on the fly for hostnames as they are asked forlloyd2012-02-031-17/+89
| |
* | Actually check CA signatures in Credentials_Manager. This area needs alloyd2012-02-016-18/+55
| | | | | | | | lot more work before this can be deployed.
* | Support getting ciphersuites by name as well as suite IDlloyd2012-01-286-10/+29
| |
* | Add Camellia ciphersuites from RFC 4132.lloyd2012-01-283-5/+40
| | | | | | | | | | | | Fix Ciphersuite_Preference_Ordering which treated two ciphersuites with the same algos but different keylengths as equivalent, causing them to be lost. Always prefer the longer key.
* | propagate from branch 'net.randombit.botan' (head ↵lloyd2012-01-28104-4792/+9200
|\ \ | | | | | | | | | | | | | | | 3f6b267bc00d2da1b5d36ca2215c3e1b6a40e796) to branch 'net.randombit.botan.tls-state-machine' (head 7df407e6678bd51328c348fd2a665f20fb22d62d)
| * | Add anon SRP ciphersuites to the list, add missing _CBC on thelloyd2012-01-282-12/+27
| | | | | | | | | | | | existing enum values.
| * | Support alternate PRF hashes in TLS 1.2. Add support for the SHA-384lloyd2012-01-288-74/+90
| | | | | | | | | | | | ciphersuites.
| * | Fix inverted conditionallloyd2012-01-271-2/+2
| | |
| * | Change naming convention to match RFCslloyd2012-01-275-30/+26
| | |
| * | Remove debug outputlloyd2012-01-271-11/+0
| | |
| * | Server side PSKlloyd2012-01-274-101/+124
| | |
| * | Working though somewhat clumsy DHE_PSK and ECDHE_PSK. Tested against GnuTLSlloyd2012-01-275-24/+100
| | |
| * | Somewhat cleaner PSK handlinglloyd2012-01-273-27/+34
| | |
| * | Server side PSK kexlloyd2012-01-274-13/+37
| | |
| * | Split up the psk function as the server also wants to be able to looklloyd2012-01-274-22/+51
| | | | | | | | | | | | up a PSK from an identity.
| * | Credentials hooks for PSKlloyd2012-01-272-2/+27
| | |
| * | Add client-side support for PSK kex. Tested against OpenSSL.lloyd2012-01-278-14/+97
| | |
| * | Use boost::asio instead of standalone asio as it's more commonlylloyd2012-01-273-44/+49
| | | | | | | | | | | | | | | available. If an error occurs in loading a certificate, etc then simply ignore it.
| * | First attempt to get certificates matching the name the client sent inlloyd2012-01-271-3/+27
| | | | | | | | | | | | | | | the SNI extension. If we can't find anything, send an unrecognized_name alert and then retry with the requested server name as "" (ie default).
| * | Remove Alert::Level enum, replace with boollloyd2012-01-265-14/+10
| | |