summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-05feature: hand out other key types like katzenpost keysAzul
2017-11-07Merge branch 'refactor/clarify-response' into 'master'azul
Refactor/clarify response See merge request leap/nickserver!20
2017-11-04refactor: turn Hkp::Response into KeyResponserefactor/clarify-responseAzul
We now also use it from wkd and it seems like a generally useful kind of response.
2017-11-03fix: no expiration date means not outdatedAzul
We were using Time.at(expirationdate) even if it was nil which led to using the Time.at(0). Instead an unset expirationdate is meant to not expire the key at all. Our tests did not catch this because the assertions were in blocks that did not get run at all. (at least in the HKP integration test).
2017-10-11docs: update README.mdAzul
* We are using Celluloid instead of EventMachine now * The json responses are currently not signed * we actually pick a key rather than sending all available * There are only two install options listed. We were claiming there are three.
2017-10-11style: more rubocop fixesAzul
2017-09-23Merge branch 'rubocop' into 'master'azul
Style fixes based on Rubocop See merge request leap/nickserver!19
2017-09-23style: avoid endless elsif in KeyInfo#errorAzul
using an array of symbols representing the different checks now.
2017-09-23refactor: move error detection into key_infoAzul
Still needs something better than all these elsifs though
2017-09-23style: more rubocop fixesAzul
2017-09-23style: rubocop mostly auto-correctAzul
2017-09-23wkd: implement basic lookup of keys through wkdAzul
wkd is the web key directory. See the Readme.md in /lib/nickserver/wkd
2017-09-23Merge branch 'wkd' into 'master'azul
Fetch keys from web key directory See merge request leap/nickserver!18
2017-09-22fiX: tests need different names, warningsAzul
2017-09-22wkd: implement basic lookup of keys through wkdAzul
wkd is the web key directory. See the Readme.md in /lib/nickserver/wkd
2017-08-07update changelogversion/0.10Azul
2017-08-03Version 0.10.00.10.0Azul
This is a maintainance release - bugfixes and upgrades of dependencies. This release fixes a major issue with leaking file descriptors. Please upgrade as soon as possible. Ruby 2.1 is required - no other upgrade issues are known. bugfixes: * #3 handle domains without A-record * filedescriptor leak from http_adapters * send empty json object on 404 rather than nil * remote nicknym is on port 6425 * use user:password@ prefix in http basic auth upgrades: * require at least ruby 2.1 * upgrade bundled gems to latest available tests: * more meaningful error messages in case of failures * test bundle is up to date * regression test for nonexisting domain integration: * Add systemd service unit file * Restart nickserver automatically from systemd * gitignore: bundle dir cleanup: * old empty adapters and tests
2017-07-25Merge branch 'test/nonexisting-domain' into 'master'azul
test: regression test for nonexisting domain See merge request !17
2017-07-25test: regression test for nonexisting domainAzul
related to platform#8674
2017-07-24Merge branch 'test/http-adapter' into 'master'azul
test: minor: add http adapter test See merge request !16
2017-07-24test: minor: add http adapter testAzul
2017-07-24Merge branch 'bugfix/name-resolution' into 'master'azul
fix: #3 handle domains without A-record Closes #3 See merge request !15
2017-07-24fix: #3 handle domains without A-recordAzul
If a domain only has an mx record but no A record it will trigger a ConnectionError when attempting the nicknym key lookup. We need to detect and handle this in the http adapter already because once the exception is handled by Celluloid our actor will be terminated. So now we allow for handing a rescue option to the adapter with a string that is checked for inclusion in the error message. If the string is found the exception will be caught and the adapter returns nil. We only make use of this when checking the availability of nicknym so far. That should be the only http request going out.
2017-07-24Merge branch 'test/fd-count-tweak' into 'master'azul
minor: tweak file descriptor count test See merge request !14
2017-07-24minor: tweak file descriptor count testAzul
2017-07-24Merge branch 'upgrade/bundle' into 'master'azul
Upgrade/bundle See merge request !12
2017-07-24Merge branch 'fix/fd-leak' into 'master'azul
fix: filedescriptor leak from http_adapters See merge request !13
2017-07-21fix: filedescriptor leak from http_adaptersAzul
Now we reuse a single adapter for all requests triggered by an incoming request. Then we .terminate the adapter. Includes a regression test.
2017-07-21upgrade: bundleAzul
2017-07-21ci: test bundle is up to dateAzul
2017-07-20Merge branch 'upgrade' into 'master'azul
upgrade dependencies See merge request !11
2017-05-11upgrade dependenciesAzul
2017-02-21gitignore: bundle dirAzul
2017-01-17Restart nickserver automatically from systemdvarac
2017-01-16Add systemd service unit filevarac
2016-12-05bugfix: send empty json object on 404 rather than nilversion/0.9Azul
sending nothing was keeping the connection alive.
2016-12-02bugfix: remote nicknym is on port 6425Azul
We may use a different port in the config that is then mapped somehow. But this should not affect where we try to contact remote nicknym servers.
2016-12-02Merge branch 'bugfix/couch-auth' into 'master' azul
bugfix: use user:password@ prefix in http basic auth See merge request !9
2016-12-02debug: raise error on 401Azul
This will get us more debug info in the logs if it happens again
2016-12-02bugfix: use user:password@ prefix in http basic authAzul
http.rb does not do this on its own.
2016-12-02cleanup: old empty adapters and testsAzul
2016-12-02Merge branch 'test/debug-failures' into 'master' azul
test: more meaningful error messages in case of failures See merge request !8
2016-11-30test: more meaningful error messages in case of failuresAzul
2016-10-17Merge branch 'release/0.9' into 'master' azul
Release 0.9 Version 0.9.0 Allow queries by fingerprint (using keyservers to reply) and support key lookup from other nickservers. This is a major rewrite both in terms of our dependencies and our architecture. We moved the server and http_client from eventmachine to Celluloid based libraries. This allows for a more concise syntax and proper https handling. In addition we now support ruby 2.3, use a Logger instead of stdout and handle network errors properly See merge request !7
2016-10-17Version 0.9.00.9.0Azul
Allow queries by fingerprint (using keyservers to reply) and support key lookup from other nickservers. This is a major rewrite both in terms of our dependencies and our architecture. We moved the server and http_client from eventmachine to Celluloid based libraries. This allows for a more concise syntax and proper https handling. In addition we now support ruby 2.3, use a Logger instead of stdout and handle network errors properly
2016-10-17Merge branch 'feature/log-requests-and-errors' into 'master' azul
Log requests and errors proper logging See merge request !6
2016-10-02doc: prepara CHANGES.md for 0.9.0Azul
2016-10-02minor: gitignore byebug_historyAzul
2016-10-02minor: include Gemfile.lockAzul
2016-10-02doc: add sequence diagrams for high level overviewAzul