<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tteras/strongswan/src/libcharon/plugins/vici/python, branch master</title>
<subtitle>tteras' strongSwan tree
</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/'/>
<entry>
<title>vici: Fix type error exception in Python bindings</title>
<updated>2017-04-19T08:00:21+00:00</updated>
<author>
<name>odi79</name>
<email>inet.github@henrici.name</email>
</author>
<published>2017-04-14T14:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=0d66b01a813afee5a0ca1eece5b2fa0aa585f38f'/>
<id>0d66b01a813afee5a0ca1eece5b2fa0aa585f38f</id>
<content type='text'>
Line 66 yields "TypeError: can't concat bytes to str" using Python 3.4.
"requestdata" was introduced in 22f08609f1b6 but is not actually used.
Since the original "request" is not used anywhere else this can be changed
to be similar to the other UTF-8 encoding changes in that commit.

Fixes: 22f08609f1b6 ("vici: Explicitly set the Python encoding type").
Closes strongswan/strongswan#66.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Line 66 yields "TypeError: can't concat bytes to str" using Python 3.4.
"requestdata" was introduced in 22f08609f1b6 but is not actually used.
Since the original "request" is not used anywhere else this can be changed
to be similar to the other UTF-8 encoding changes in that commit.

Fixes: 22f08609f1b6 ("vici: Explicitly set the Python encoding type").
Closes strongswan/strongswan#66.
</pre>
</div>
</content>
</entry>
<entry>
<title>vici: Update get_pools() in Python and Ruby bindings</title>
<updated>2017-02-16T18:21:12+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2016-12-08T17:14:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=d20bf50e04b5ed34f045cf084a4ad14f6026891e'/>
<id>d20bf50e04b5ed34f045cf084a4ad14f6026891e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vici: Explicitly set the Python encoding type</title>
<updated>2017-02-13T14:04:44+00:00</updated>
<author>
<name>Martin Willi</name>
<email>martin@strongswan.org</email>
</author>
<published>2015-12-08T16:13:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=22f08609f1b6aabdc1177e0570c943842478de72'/>
<id>22f08609f1b6aabdc1177e0570c943842478de72</id>
<content type='text'>
When using vici over RPyC and its (awesome) splitbrain, encoding and decoding
strings fails in vici, most likely because of the Monkey-Patch magic splitbrain
uses.

When specifying the implicit UTF-8 as encoding scheme explicitly, Python uses
the correct method to encode/decode the string, making vici useable in
splitbrain contexts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using vici over RPyC and its (awesome) splitbrain, encoding and decoding
strings fails in vici, most likely because of the Monkey-Patch magic splitbrain
uses.

When specifying the implicit UTF-8 as encoding scheme explicitly, Python uses
the correct method to encode/decode the string, making vici useable in
splitbrain contexts.
</pre>
</div>
</content>
</entry>
<entry>
<title>vici: Check for closed connection in Python bindings</title>
<updated>2016-12-14T10:35:31+00:00</updated>
<author>
<name>Weilu Jia</name>
<email>optix2000@teitoku.net</email>
</author>
<published>2016-12-13T02:17:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=351179d4dc96d20c1b76740c87e9b0355bed8222'/>
<id>351179d4dc96d20c1b76740c87e9b0355bed8222</id>
<content type='text'>
The Python VICI library does not check if the socket is closed.
If the daemon closes the connection, _recvall() spins forever.

Closes strongswan/strongswan#56.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Python VICI library does not check if the socket is closed.
If the daemon closes the connection, _recvall() spins forever.

Closes strongswan/strongswan#56.
</pre>
</div>
</content>
</entry>
<entry>
<title>vici: Fix indention of flush_certs() method in Python bindings</title>
<updated>2016-09-20T13:33:18+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2016-09-20T11:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=d344474b3d44d55b488140a2d9cd7f8f28ed514e'/>
<id>d344474b3d44d55b488140a2d9cd7f8f28ed514e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vici:  flush-certs command flushes certificate cache</title>
<updated>2016-09-13T15:02:59+00:00</updated>
<author>
<name>Andreas Steffen</name>
<email>andreas.steffen@strongswan.org</email>
</author>
<published>2016-09-08T09:59:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=2c7cfe76303bce498ce302da31bc1e028a6af53a'/>
<id>2c7cfe76303bce498ce302da31bc1e028a6af53a</id>
<content type='text'>
When fresh CRLs are released with a high update frequency (e.g.
every 24 hours) or OCSP is used then the certificate cache gets
quickly filled with stale CRLs or OCSP responses. The new VICI
flush-certs command allows to flush e.g. cached CRLs or OCSP
responses only. Without the type argument all kind of certificates
(e.g. also received end entity and intermediate CA certificates)
are purged.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When fresh CRLs are released with a high update frequency (e.g.
every 24 hours) or OCSP is used then the certificate cache gets
quickly filled with stale CRLs or OCSP responses. The new VICI
flush-certs command allows to flush e.g. cached CRLs or OCSP
responses only. Without the type argument all kind of certificates
(e.g. also received end entity and intermediate CA certificates)
are purged.
</pre>
</div>
</content>
</entry>
<entry>
<title>vici: Put source distribution in the dist dir in the build directory</title>
<updated>2016-05-11T12:33:08+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2016-05-11T12:32:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=09328c5210155300c68c75289ea92a39cb531c09'/>
<id>09328c5210155300c68c75289ea92a39cb531c09</id>
<content type='text'>
This fixes the out-of-tree build.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the out-of-tree build.
</pre>
</div>
</content>
</entry>
<entry>
<title>vici: Add target to build a source package and universal wheel of the Python package</title>
<updated>2016-05-11T09:36:51+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2016-05-11T09:23:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=81b9de01269fd93d1d864c2255da745a868420c5'/>
<id>81b9de01269fd93d1d864c2255da745a868420c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vici: Add README.rst to be used as description on PyPI</title>
<updated>2016-05-11T09:16:43+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2016-05-11T09:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=fa844a798b76b09667cccaa569debd8313949d17'/>
<id>fa844a798b76b09667cccaa569debd8313949d17</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vici: Replace dr with dev in version numbers for the Python egg</title>
<updated>2016-05-10T10:16:13+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2016-05-10T10:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=5d5ecd8e72d173b78424094e71fd0bc1f6e0c929'/>
<id>5d5ecd8e72d173b78424094e71fd0bc1f6e0c929</id>
<content type='text'>
The versioning scheme used by Python (PEP 440) supports the rcN suffix
but development releases have to be named devN, not drN, which are
not supported and considered legacy versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The versioning scheme used by Python (PEP 440) supports the rcN suffix
but development releases have to be named devN, not drN, which are
not supported and considered legacy versions.
</pre>
</div>
</content>
</entry>
</feed>
