Tag: python

GPG-Agent Socket Paths

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

pgppython

Originally working on a YubiKey support for Crypt4GH stream processing library turned out to become a work to fully support GnuPG at least on UNIX platforms. In recent GnuPG versions everything is handled by gpg-agent but an interesting problem arose - how to find its socket when using alternative GnuPG homedir?

...
...

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.

...

Code emulation with Ghidra SRE

Written by Jiří Keresteš on 2021-04-08

python

Did you know that Ghidra SRE has the ability to emulate code? If you want to know how we use it to save time when reversing firmware binaries, read on!

...