<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/dnspython.git/dns/message.py, branch comments</title>
<subtitle>github.com: rthalley/dnspython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/'/>
<entry>
<title>Minor cleanups to EDNS code.</title>
<updated>2020-07-17T18:34:29+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-07-17T18:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=dab9d90bdbf8af612308650fd375fd08a472fbb2'/>
<id>dab9d90bdbf8af612308650fd375fd08a472fbb2</id>
<content type='text'>
When the Message object was changed to store an OPT record, the changes
to use_edns() left a lot of cruft.

Reduce some code duplication in make_query().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the Message object was changed to store an OPT record, the changes
to use_edns() left a lot of cruft.

Reduce some code duplication in make_query().
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Message ednsflags propery setter.</title>
<updated>2020-07-07T20:42:48+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-07-07T20:42:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=172c357dc70420a2ce2fbe88a18ee439b945c3be'/>
<id>172c357dc70420a2ce2fbe88a18ee439b945c3be</id>
<content type='text'>
Setting ednsflags to 0 shouldn't unconditionally enable EDNS.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Setting ednsflags to 0 shouldn't unconditionally enable EDNS.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Message.want_dnssec().</title>
<updated>2020-07-07T17:47:22+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-07-07T17:44:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=0a6b2c26056ce6f7962e52869b1809e2c29d7dbc'/>
<id>0a6b2c26056ce6f7962e52869b1809e2c29d7dbc</id>
<content type='text'>
It was incorrectly calling Message._make_opt() in the case where the
message was not currently using EDNS.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was incorrectly calling Message._make_opt() in the case where the
message was not currently using EDNS.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove too strong "no metaclasses" check in _parse_rr_header().</title>
<updated>2020-07-07T12:03:22+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@dnspython.org</email>
</author>
<published>2020-07-07T12:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=e3028db2d10e7ea1d4fa48e9dc7594236a5ef1a4'/>
<id>e3028db2d10e7ea1d4fa48e9dc7594236a5ef1a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rework wire format processing.</title>
<updated>2020-07-02T22:11:08+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@play-bow.org</email>
</author>
<published>2020-07-02T15:23:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=8335194878d419c9698b33ea3d269068387b245d'/>
<id>8335194878d419c9698b33ea3d269068387b245d</id>
<content type='text'>
Wire format data is now done via a dns.wire.Parser, which does all of the
bookkeeping and also provides convenience routines (e.g. get_uint16() or
get_name()).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wire format data is now done via a dns.wire.Parser, which does all of the
bookkeeping and also provides convenience routines (e.g. get_uint16() or
get_name()).
</pre>
</div>
</content>
</entry>
<entry>
<title>Add dns.tsig.Key class.</title>
<updated>2020-07-01T20:06:14+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-07-01T20:06:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=8d1360481095e29ce63c9777b37d9eb0c411f9b7'/>
<id>8d1360481095e29ce63c9777b37d9eb0c411f9b7</id>
<content type='text'>
This creates a new class to represent a TSIG key, containing name,
secret, and algorithm.

The keyring format is changed to be {name : key}, and the methods in
dns.tsigkeyring are updated to deal with old and new formats.

The Message class is updated to use dns.tsig.Key, although (to avoid
breaking existing code), it stores them in the keyring field.

Message.use_tsig() can accept either explicit keys, or keyrings; it will
extract and/or create a key.

dns.message.from_wire() can accept either a key or a keyring in the
keyring parameter.  If passed a key, it will now raise if the TSIG
record in the message was signed with a different key.  If passed a
keyring containing keys (as opposed to bare secrets), it will check that
the TSIG record's algorithm matches that of the key.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This creates a new class to represent a TSIG key, containing name,
secret, and algorithm.

The keyring format is changed to be {name : key}, and the methods in
dns.tsigkeyring are updated to deal with old and new formats.

The Message class is updated to use dns.tsig.Key, although (to avoid
breaking existing code), it stores them in the keyring field.

Message.use_tsig() can accept either explicit keys, or keyrings; it will
extract and/or create a key.

dns.message.from_wire() can accept either a key or a keyring in the
keyring parameter.  If passed a key, it will now raise if the TSIG
record in the message was signed with a different key.  If passed a
keyring containing keys (as opposed to bare secrets), it will check that
the TSIG record's algorithm matches that of the key.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove dns.message.Message multi field.</title>
<updated>2020-06-30T17:41:01+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-06-30T17:41:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=382000b2347131da35142778c074fdb2abc609e5'/>
<id>382000b2347131da35142778c074fdb2abc609e5</id>
<content type='text'>
The only user of this is the internal _WireReader class, so just pass it
the flag rather than store it on the message.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The only user of this is the internal _WireReader class, so just pass it
the flag rather than store it on the message.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the concept from "first" from TSIG.</title>
<updated>2020-06-30T16:27:06+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-06-30T16:27:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=bfdcb567502dcb1e4de443479547a2e26a4547f7'/>
<id>bfdcb567502dcb1e4de443479547a2e26a4547f7</id>
<content type='text'>
The sign() and validate() routines took a "first" parameter, which
indicated that this message was the first in a multi-message sequence.
This isn't needed, as it's identical to "not (ctx and multi)".

Remove the parameter from both, as well as the now-unneeded field in the
message object and message.from_wire() parameter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The sign() and validate() routines took a "first" parameter, which
indicated that this message was the first in a multi-message sequence.
This isn't needed, as it's identical to "not (ctx and multi)".

Remove the parameter from both, as well as the now-unneeded field in the
message object and message.from_wire() parameter.
</pre>
</div>
</content>
</entry>
<entry>
<title>Store a TSIG rrset on the message object.</title>
<updated>2020-06-30T15:33:19+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-06-29T21:55:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=b6671fe2367507a29a55d0b4255325b73fffe6be'/>
<id>b6671fe2367507a29a55d0b4255325b73fffe6be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change dns.tsig.validate() to take a TSIG record.</title>
<updated>2020-06-30T15:32:59+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-06-29T20:48:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=8c6ba9e62fce0b7acaa1995f57b36908f9277684'/>
<id>8c6ba9e62fce0b7acaa1995f57b36908f9277684</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
