Archive for the 'Tools' Category

My First FreeBSD Port

A nice surprise last week: textproc/libcrm114 became my first official FreeBSD port.  :-)

Read the rest of this entry »

LaTeX minted

The minted package is a possible alternative to listing. It provides syntax highlighting for sourc code in LaTeX documents by calling the Python pygmentize tool.
Read the rest of this entry »

CUnit

As the name says CUnit is an xUnit implementation for the C programming language.

In comparison to dynamic programming languages the test organization requires much more manual glue code. Because C has no introspection one has to register every test case manually. Likewise there is no support for utilities like mock object generation or annotations.

On the other hand unit tests can be very useful in C, for example when implementing data structures. Test cases may isolate null pointer dereferencing and one can use valgrind on them to detect memory leaks at the lowest level.

Read the rest of this entry »

certutil

Ich möchte certutil für Unix haben… Dieses Windows-Tool dekodiert und verarbeitet ASN.1-Dateien für kryptographische Protokolle. Dabei kann es mehr als nur X.509-Zertifikate lesen (das geht auch mit den openssl-Tools gut) – ich brauchte es konkret um mir eine PKCS#7 Signatur anzeigen zu lassen.

(Ein Programm gleichen Namens ist übrigens Teil der Mozilla Network Security Services; aber auch das arbeitet „nur“ mit X.509 Zertifikaten.)