summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-25fix our own warningsAzul
2016-05-25silence some warnings from evma_httpserverAzul
2016-05-25move nickserver_test to integration dirAzul
it really is more of an integration test
2016-05-25simplify KeyInfo. remove unneeded accessorsAzul
2016-05-25run all tests by defaultAzul
2016-05-25copy over all files from rewritten attemptAzul
I started a nickserver from scratch to implement the things that are independent of our choice of stack (eventmachine or other). This commit copies them over and tests both things in parallel.
2016-05-25rubocop: fix unused block paramsAzul
2016-05-25rubocop: disable EndAlignment cop permanentlyAzul
we use end; end to end nested modules.
2016-05-25rubocop: fix deprecated class methodsAzul
2016-05-25rubocop: initialize and use ruby 1.9 hash syntaxAzul
2016-05-25Version 0.3.00.3.0Azul
2016-04-10travis: match production environmentversion/0.8Azul
2016-04-10test: try latest rubygems and bundlerAzul
2016-04-10test: downgrad rubygems to fix issue with bundlerAzul
2016-04-10minor tweaks to hkp response parsingAzul
Only parse responses that have status code 200 (OK). Simplify status code handling a bit Also profiled it to see if duplicate calculations matter. They don't (2ms for validating 12 keys)
2016-04-10add test for 200 without matching keysAzul
2016-04-10deprecation: File.exists? -> File.exist?Azul
2016-04-10bugfix: 404 if no key matches, fixes #6789Azul
I also separated the parsing of the hkp response from FetchKeyInfo. This way FetchKeyInfo has the EM specific code that has sideeffects and the logic is in a class without sideeffects and (almost) without state. The only state we keep is the KeyInfo array that contains all the information the server returns. This way we avoid parsing the response multiple times.
2016-04-10lock down eventmachine versionAzul
higher versions - namely 1.2.x caused ruby runtime crashes for me
2016-04-10test: initial travis setupAzul
2014-11-24add a sleep to restart. appears to finally resolve ↵elijah
https://leap.se/code/issues/3526
2014-10-29bind nickserver only to localhostelijah
2014-10-29don't try to remove pid file when we get a singal to halt, we won't have ↵elijah
permissions anyway.
2014-10-29catch SIGINT and SIGHUPelijah
2014-08-05added how to test in readmeelijah
2014-08-05added kkp_ca_file config optionelijah
2014-01-23upgraded gem requirements to most recent versionselijah
2014-01-23fixed test by increasing the expiration date of some keys.elijah
2013-12-24move config file location to /etc/nickserver.yml0.2.2elijah
2013-08-21call chown on log file, if appropriateelijah
2013-08-21switch to using identities dbelijah
2013-08-06fix crash when fetched key is rejected (e.g. too short, etc), report errors ↵elijah
in the request, prevent most crashes by catching exceptions.
2013-08-05fix bug with couchdb result parsingelijah
2013-08-05added 'foreground' start option (start, but don't daemonize)elijah
2013-05-19fix bug with empty request parameterselijah
2013-05-19many related changes -- allow command line configs, validate addresses, ↵elijah
overhaul bootstrap.
2013-05-18set BUNDLE_GEMFILE env variable, if required.elijah
2013-05-18if Gemfile.lock is present, then issue a Bundle.requireelijah
2013-05-18`nickserver status` must exit non-zero if it daemon is not running.elijah
2013-05-18added minimal initscriptelijah
2013-05-18pass command name to Daemon.runelijah
2013-05-17rolled custom daemon code to better match the way daemons are supposed to ↵elijah
work under debian.
2013-05-15add CouchDB support.elijah
2013-05-13s/sks_url/hkp_urlelijah
2013-05-12switch to new api for nickserver (get or post, json response)elijah
2013-05-12added config fileelijah
2013-05-11updated READMEelijah
2012-12-24added nickserver daemonelijah
2012-12-24remove cruftelijah
2012-12-24initial commitelijah