https://github.com/OpenSC/OpenSC/wiki/Aladdin-eToken-PRO#etoken-pro-java #OpenSC : How to extract #SafeNet #eToken 5110 SC rsa pub key to using it with #OpenSsh : I figured out something that work, but is there a documentation to check or contribute to ?

```

pkcs11-tool --module $module --read-object --pin $PIN --type pubkey --id $id --output-file "$file.der"

openssl rsa -inform DER -outform PEM -in "$file.der" -pubin > "$file.pem"

ssh-keygen -f "$file.pem" -i -mPKCS8 > "$file.pub"

```

BTW FLOSS alt (without blob) welcome

Aladdin eToken PRO

Open source smart card tools and middleware. PKCS#11/MiniDriver - OpenSC/OpenSC

GitHub
@rzr With the same horrible smartcard?
Because otherwise there's Nitrokey, Solokey, … where even the software they run is open.