Community discussions

MikroTik App
 
wachcio
just joined
Topic Author
Posts: 1
Joined: Mon Apr 22, 2024 12:51 pm

Can't import ed25519 key with FIDO2 (YubiKey)

Mon Jul 01, 2024 12:05 am

Hello
I am using Debian 12. My Mikrotik devices are AX2 and CRS326 with RouterOS version 7.15.1 I recently purchased YubiKey. I generated an asymmetric key ed25519 with FIDO2 support:
ssh-keygen -f ~/.ssh/mikrotikAX2Yubi -t ed25519-sk -b 521
I copied it to the router and tried to import it in system>users>SSH Keys. Unfortunately, the import failed without displaying an error. You need to reset the router to be able to change anything in the SSH settings. After restarting, the ed25519 key is added without any problems, but without FIDO2 support. The problem occurs on both of my devices. Is this a known bug?
 
Johann1525
just joined
Posts: 2
Joined: Fri Oct 27, 2023 12:00 am

Re: Can't import ed25519 key with FIDO2 (YubiKey)

Fri Dec 06, 2024 11:59 am

Hi,

i'm running 7.16.2 on a CCR2004-1G-12S+2XS and i get an error when i try to import a ed25519-sk key. Unfortunately i assume they just have not implemented it (yet).

I'd love to see this functionality.
 
User avatar
infabo
Forum Guru
Forum Guru
Posts: 1464
Joined: Thu Nov 12, 2020 12:07 pm

Re: Can't import ed25519 key with FIDO2 (YubiKey)

Sat Dec 07, 2024 1:24 am

It is not a bug. ed25519-sk is just not supported. Only recently the have added ed25519 support.

Who is online

Users browsing this forum: anav, Elvis1991, JohnTRIVOLTA, starcake and 19 guests