Giter Club home page Giter Club logo

Comments (11)

MauroMombelli avatar MauroMombelli commented on August 19, 2024 1

i would add a point
0. change your admin and user pin to a default value, as they seems to be saved in the logs :)

btw in the end it seems to fail because a libusb timeout.

scdaemon-pro-4096.log.txt

from nitrokey-pro-firmware.

szszszsz avatar szszszsz commented on August 19, 2024

Hi!
What OS and GPG version do you use? And what is the version of the device?
I have checked lately 4096 bit key generation on Nitrokey Pro using Ubuntu 16.04/GPG 2.1.11 and it worked.

from nitrokey-pro-firmware.

MauroMombelli avatar MauroMombelli commented on August 19, 2024

Arch Linux with gnupg 2.1.19, notrokey with firmware 0.8.

Just to be sure, during the key creation procedure I set 4096, my data (I set no expire) and it ask me for the pins. Then it fail, it remember I tryed with 4096 but there are no keys.

One thing I notice is the company in the firmware info does not match what I saw on other example on internet

from nitrokey-pro-firmware.

szszszsz avatar szszszsz commented on August 19, 2024

One thing I notice is the company in the firmware info does not match what I saw on other example on internet

Could you elaborate? Where did you saw it and how it looked like?

from nitrokey-pro-firmware.

MauroMombelli avatar MauroMombelli commented on August 19, 2024

gpg --card-status

[...]
Version ..........: 2.1
Manufacturer .....: ZeitControl
[...]

my bad seems to be correct, i got confused.

when i fail to generate the key, the 4096 size is reported in

Key attributes ...: rsa2048 rsa2048 rsa2048

from nitrokey-pro-firmware.

szszszsz avatar szszszsz commented on August 19, 2024

Despite 4096 bit keys being said as supported, any try to generate them with GPG or GPG2 failed. The same identical setup with 2048 worked first time.

This looks like a bug in GPG 2.1.19. We have just registered one with 2.1.15 but it would be great to have logs from the latest version.
Could you take the logs? Please follow these steps to do so:

  1. Copy scdaemon.conf.txt to ~/.gnupg/scdaemon.conf and correct the absolute path there to match own user home directory. If any config is already there please backup it and swap with this one.
  2. Kill old scdaemon with pkill scdaemon.
  3. Do not-working scenario - generate 4096 keys as usual .
  4. Run step 2 again so the log file will not be appended with unneeded information by running scdaemon in the background.
  5. Undo changes from step 1 - rename/delete or swap scdaemon.conf with the backup, so log files will not be generated during day-to-day use.
  6. Attach the log file scdaemon.log here in a comment as a file.

from nitrokey-pro-firmware.

szszszsz avatar szszszsz commented on August 19, 2024

Ah, you are right. I have forgot to mention about the PINs. Sorry!
Thank you for the logs! Indeed it looks like the timeout is a cause. I will send it further to GnuPG team.

from nitrokey-pro-firmware.

MauroMombelli avatar MauroMombelli commented on August 19, 2024

from nitrokey-pro-firmware.

jans23 avatar jans23 commented on August 19, 2024

from nitrokey-pro-firmware.

MauroMombelli avatar MauroMombelli commented on August 19, 2024

Just updated GPG to .20, generation worked succesfully. Key not tested but if they will have issue I'll open a new bug report as the problem itself is solved.

Thanks!

from nitrokey-pro-firmware.

szszszsz avatar szszszsz commented on August 19, 2024

Great, thank you for re-testing!

from nitrokey-pro-firmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.