pts / pts-dropbear

Dropbear SSH tools with ed25519 and other improvements by pts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`make` fails if no `WRITEOPENSSHKEYS=1` given

lez opened this issue · comments

We are very grateful that you added ed25519 support to dropbear.
However, the default make options seem to be not enough anymore:

| ../dropbear-2017.75/dropbearkey.c: In function 'dropbearkey_main':
| ../dropbear-2017.75/dropbearkey.c:305:51: error: 'format' undeclared (first use in this function)
|   if (signkey_generate(keytype, bits, filename, 0, format) == DROPBEAR_FAILURE)
|                                                    ^~~~~~
| ../dropbear-2017.75/dropbearkey.c:305:51: note: each undeclared identifier is reported only once for each function it appears in

Adding WRITEOPENSSHKEYS=1 solves this compile error.

Thank you for reporting this! Fixed it in 432c3f9.

Wow! Thanks for the instant fix! Really appreciate it!