<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nickserver.git/test, branch refactor/clarify-response</title>
<subtitle>[nickserver] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/'/>
<entry>
<title>fix: no expiration date means not outdated</title>
<updated>2017-11-03T13:33:51+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-11-03T13:33:51+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=ec996134a1f23ee36aff9d3ad2c800af71623207'/>
<id>ec996134a1f23ee36aff9d3ad2c800af71623207</id>
<content type='text'>
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).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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).
</pre>
</div>
</content>
</entry>
<entry>
<title>style: more rubocop fixes</title>
<updated>2017-10-11T13:46:48+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-10-11T13:46:48+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=726c035b7b7fac636982ac6e4c28e199d4c8cc8a'/>
<id>726c035b7b7fac636982ac6e4c28e199d4c8cc8a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>style: more rubocop fixes</title>
<updated>2017-09-23T14:53:27+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-09-23T11:43:29+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=f40ef14010af08c49810c0a6a2349072948170e6'/>
<id>f40ef14010af08c49810c0a6a2349072948170e6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>style: rubocop mostly auto-correct</title>
<updated>2017-09-23T14:53:27+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-09-23T09:07:32+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=40916407517f4bdb75a295caf29e02d4f403349b'/>
<id>40916407517f4bdb75a295caf29e02d4f403349b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>wkd: implement basic lookup of keys through wkd</title>
<updated>2017-09-23T14:53:27+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-09-22T13:30:40+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=22c6c80310a8d3d3abbd1006598b4fbaec98ffd0'/>
<id>22c6c80310a8d3d3abbd1006598b4fbaec98ffd0</id>
<content type='text'>
wkd is the web key directory. See the Readme.md in
  /lib/nickserver/wkd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
wkd is the web key directory. See the Readme.md in
  /lib/nickserver/wkd
</pre>
</div>
</content>
</entry>
<entry>
<title>fiX: tests need different names, warnings</title>
<updated>2017-09-22T16:40:45+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-09-22T16:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=c0410a5a5c5dbdd5fa182ac25d72ebb99e48bbb3'/>
<id>c0410a5a5c5dbdd5fa182ac25d72ebb99e48bbb3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>wkd: implement basic lookup of keys through wkd</title>
<updated>2017-09-22T13:30:47+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-09-22T13:30:40+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=3f777b4cbc7eaa4d127ec31e1d625bba65a40c0d'/>
<id>3f777b4cbc7eaa4d127ec31e1d625bba65a40c0d</id>
<content type='text'>
wkd is the web key directory. See the Readme.md in
  /lib/nickserver/wkd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
wkd is the web key directory. See the Readme.md in
  /lib/nickserver/wkd
</pre>
</div>
</content>
</entry>
<entry>
<title>test: regression test for nonexisting domain</title>
<updated>2017-07-25T06:59:42+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-07-25T06:59:42+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=a84cadd0d689fdb12bea36973275d77646e5aa24'/>
<id>a84cadd0d689fdb12bea36973275d77646e5aa24</id>
<content type='text'>
related to platform#8674
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
related to platform#8674
</pre>
</div>
</content>
</entry>
<entry>
<title>test: minor: add http adapter test</title>
<updated>2017-07-24T09:02:48+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-07-24T09:02:48+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=3250015cc6e6a14a550a83cd7d5fe6faefc5e185'/>
<id>3250015cc6e6a14a550a83cd7d5fe6faefc5e185</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: #3 handle domains without A-record</title>
<updated>2017-07-24T08:03:22+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-07-24T07:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=b1738a78ccf5768f92068a27255f9f69be1c3147'/>
<id>b1738a78ccf5768f92068a27255f9f69be1c3147</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
