Add autopkgtests
Dear Samuel, dear team,
this is a follow-up merge request [1], which adds a smoke test to check correct startup behaviour of rsakeyfind
and tests the retrieval of RSA-keys from process memory dumps, which will be created during the tests' runtime.
Within each testcase certain key material is specified [2], which will be used for the deterministic generation of the RSA key by feeding the key material to a helper script [3], where the elements (d, p, q and e) are parsed and then used for constructing a keypair with the help of python3-pycryptodome
. The process memory of this process is dumped afterwards [4] and used as an input for rsakeyfind
, whose result is check against the seeded key material. Please note, that this procedure requires the availability of the packages gdb
, procps
and python3-cryptodome
in the test environment [5].
Thank you already in advance for reviewing the changes.
Best regards Jan
[1] !1 (merged)
[2] E.g. jgru/rsakeyfind@68ab6ee9
[3] jgru/rsakeyfind@68ab6ee9
[4] jgru/rsakeyfind@68ab6ee9
[5] jgru/rsakeyfind@68ab6ee9