Commits on Source (49)
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Fraser Tweedale authored
With the current quickstart guide, starting the server fails because the /var/log/custodia directory does not exist (or is not writable by regular user). Update the example quick.conf to specify 'log' as the logdir, and instruct the reader to create it. Signed-off-by:
Fraser Tweedale <ftweedal@redhat.com> Reviewed-by:
Simo Sorce <simo@redhat.com> Closes #196
-
Christian Heimes authored
The configuration from the quick start guide is currently hard to test. Move all config sniplets into separate files and include them with `literalinclude`. Use the new conf.d feature to include additional config files. Make all files relative to ${configdir} Use autogen_master_key to create the master key for encrypted overlay. Replaces PR #196. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Raildo Mascena authored
Skipping an import error in the client.py Signed-off-by:
Raildo Mascena <rmascena@redhat.com>
-
Raildo Mascena authored
Missing two words "doesn" and "ve" int he spelling wordlist Signed-off-by:
Raildo Mascena <rmascena@redhat.com>
-
Raildo Mascena authored
Container creation returns a 409 Conflict if the container already exists, but since the request doesn't take any additional parameters, there's really no conflict. Update the API return, if the container exists, to 200 OK. Users could still distinguish whether the container already existed by checking for 200 OK vs 201 Created. Signed-off-by:
Raildo Mascena <rmascena@redhat.com> Closes: #206
-
Christian Heimes authored
Also enable pylint's import-error checker after the block. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Raildo Mascena authored
In the auth session in the configuration file we have header funcions to point to the authentication path on Custodia. We should test that Custodia can handle with valid and invalid headers. Signed-off-by:
Raildo Mascena <rmascena@redhat.com> Reviewed-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Commit a1bfd5e5 causes tests on Travis CI to become unstable. Tests are failing randomly without any pattern.
-
Petr Čech authored
In #206 was changed of return code for case when user requests creation of existing container. It was changed from 409 to 200. This patch propagates this change to the documentation. Resolves #216 Signed-off-by:
Petr Čech <pcech@redhat.com>
-
Simo Sorce authored
This option adds the key name into the protected header of the JWE token used to encryp secrets. This allows Custodia to verify that the database was not tampered with (e.g. secrets swapped between keys). If enabled this option will cause exception when pre-exsiting keys generated without the protected header are looked up. however turning off this option will not cause failures. Signed-off-by:
Simo Sorce <simo@redhat.com>
-
Raildo Mascena authored
Signed-off-by:
Raildo Mascena <rmascena@redhat.com>
-
Christian Heimes authored
The problem is addressed in requests dev: See https://github.com/requests/requests/blob/master/HISTORY.rst Fixed issue where Requests would raise ConnectionError instead of SSLError when encoutering SSL problems when using urllib3 v1.22. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
OpenSSL 1.1.0 is more strict and validates EKU of CA. Our test CA has only EKU "TLS Web Server Authentication" set. Add "TLS Web Client Authentication" to fix tests on Fedora 26. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Also replace old MAINTAINER by new LABEL syntax. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Custodia client classes have grown a default timeout instance attribute. The forwarder plugin and CLI have a new timeout option. The default timeout for both is 10 seconds. Signed-off-by:
Christian Heimes <cheimes@redhat.com> Closes: #208
-
Christian Heimes authored
Merge and integrate custodia.ipa v0.4.2 into custodia main line. https://github.com/latchset/custodia.ipa/tree/v0.4.2 custodia.ipa commit 76a4b6fb984e257fadfa3ef39df2f4b9733712a7
-
Christian Heimes authored
- Merge READMEs - Add documentation - Add plugins and dependencies to setup.py - Travis CI: install new dependencies Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
pyasn1 0.3.1 broke FreeIPA because ASN1 types no longer take positional arguments in __init__. It broke univ.SequenceOf(char.GeneralString()). https://pagure.io/freeipa/issue/7082 Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <cheimes@redhat.com> Closes: #200
-
Christian Heimes authored
Closes: #224 Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Petr Čech authored
There are set of simple functional tests. It is neccesary to run it on box with Custodia installed. Signed-off-by:
Petr Čech <pcech@redhat.com>
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
The new feature is breaking tests. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Tests are failing under 3.4 because IPA packages no longer support 3.4. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Issue was found by pylint. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
In Python 3, the exception method has the function signature def exception(self, msg, *args, exc_info=True, **kwargs): but Python 2 does not allow that syntax. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
In Python 3, ConnectionError is also a builtin exception. Import and use the exceptions package from requests to avoid name collision. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
- use Fedora 27 - include dependencies for custodia.ipa Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Jan Pazdziora authored
-
Christian Heimes authored
- Make dependency on requests_gssapi optional - Add requests_gssapi to setup.py - Add simple test case - Move auth options to mutually exclusive groups Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
The etcd storage plugin was added as a tech demo and proof of concept to show, how an external database could be used to store secrets. It hasn't been evolved into a production-ready storage plugin. Further more it is limited to etcd2 API and not etcd3's new gPRC. Since it's not usable and causes additional overhead in testing and downstream packaging, we decided to remove the plugin from the core distribution. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Make tests pass without presence of requests_gssapi or ipaclient package. Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <cheimes@redhat.com>
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
contrib/config/custodia/ipa.conf
0 → 100644
debian/custodia.conf
0 → 100644
debian/custodia.dirs
0 → 100644
debian/custodia.docs
0 → 100644
debian/custodia.install
0 → 100644
debian/custodia.postinst
0 → 100644
debian/custodia.tmpfile
0 → 100644
debian/custodia@.service
0 → 100644