Blog

Python Cryptography Testing and Coverage

Written by Dominik Pantůček on 2024-09-26

pythoncrypt4gh

Working on a cryptographic library comes with certain challenges - like testing all the functions with (ideally all) incorrect inputs. In our recent project we leveraged Python's testing framework pytest with its support for coverage reporting to ensure we get to handle various - but very specific - kinds of corrupted input.

...

Python, mkdocs and mkdocstrings

Written by Dominik Pantůček on 2024-09-12

pythoncrypt4gh

When creating a library with some rather uncommon features, it is vital to ensure its users will be able to correctly use it by providing a useful documentation. Turns out this is possible even for Python projects.

...

Debian and Ubuntu Serial Console with Puppet

Written by Dominik Pantůček on 2024-08-29

virshpuppetlinux

As most of the servers running actual software are these days virtual machines, in our case running under KVM, having a serial console accessible from the hypervisor is always a good idea in case troubleshooting is needed without network access.

...
...

Rclone YubiKey Integration Progress

Written by Dominik Pantůček on 2024-08-01

rcloneyubikey

The well-known rclone tool for accessing and synchronizing cloud-based storage can have its configuration encrypted using a symmetric cipher with password-derived key. However some elaborate work is needed to provide a higher protection of the configuration secrets - for example using the YubiKey 5 security token. There is alredy some development under way to streamline such usage.

...