SWD interface disabled once Gnuk programmed?

Mike Tsao mike at sowbug.com
Wed Nov 21 01:06:29 CET 2018


If you have gnupg installed, then it might be claiming the USB interface
now that the device is an OpenPGP key. Try killing gpg-agent, unplugging,
and plugging back in.

On Tue, Nov 20, 2018, 3:40 PM Patrick van Staveren <trick at vanstaveren.us>
wrote:

> Hi there,
>
> I am new to Gnuk so forgive me if this is a newbie mistake...
>
> I have successfully built and programmed Gnuk onto a ST-Link V2 clone
> (target=ST_DONGLE). I have programmed it with OpenOCD using another ST-Link
> V2 :) it works.
>
> However it now seems that the SWD interface on the Gnuk target board is
> disabled so I can't connect with OpenOCD to reprogram it. OpenOCD behaves
> as if I'm not plugged into any device.
>
> Is this by design? I assume it might be, to close this off as a vector of
> attack. Is there a way to open it back up? I don't mind losing the key I've
> generated on it as this is just experimental so far.
>
> Thanks,
>
> --
> Patrick "Trick" van Staveren
> http://trick.vanstaveren.us/
> _______________________________________________
> Gnuk-users mailing list
> Gnuk-users at gnupg.org
> https://lists.gnupg.org/mailman/listinfo/gnuk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnuk-users/attachments/20181120/4392c0a8/attachment.html>


More information about the Gnuk-users mailing list