On 23/4/20 10:30 am, Darren Tucker wrote:
On Thu, 23 Apr 2020 at 07:58, Loïc <loic@xxxxxxxx> wrote:
[...]
For my patch about keeping the number of round, I'm considering writing
a regression test, but I need to extract the number of round from the
private file binary syntax. Is it acceptable to call python script from
a regression shell script ?
Unfortunately, no. The regression tests need to run on an OpenBSD
base system and Python is not part of base. Could ssh-keygen be made
to output the information you want?
dd if=binaryfile bs=1 skip=2468 count=4 2>&- | od -tu1 | \
{ read o b1 b2 b3 b4; \
expr \( \( $b1 \* 256 + $b2 \) \* 256 + $b3 \) \* 256 + $b4
}
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev