Skip to content

CRC of secret does not match #13

@kellerkind

Description

@kellerkind

Steps to reproduce:

  1. Create an export of a key
./gpg2paper/gpg2paper.py export --keyid 0EEA0F23C0051DFFE1AD5CF408DDAA857B879A26 --png --out 0EEA0F23C0051DFFE1AD5CF408DDAA857B879A26
  1. Investigate created barcode files
$ ls -la *.png
-rw-rw-rw- 1 gun gun 3396 Jan  4 16:50 0EEA0F23C0051DFFE1AD5CF408DDAA857B879A261.png
-rw-rw-rw- 1 gun gun 3419 Jan  4 16:50 0EEA0F23C0051DFFE1AD5CF408DDAA857B879A262.png
-rw-rw-rw- 1 gun gun 3472 Jan  4 16:50 0EEA0F23C0051DFFE1AD5CF408DDAA857B879A263.png
-rw-rw-rw- 1 gun gun 3293 Jan  4 16:50 0EEA0F23C0051DFFE1AD5CF408DDAA857B879A264.png
  1. Delete key from local keyring for testing the import
gpg --delete-secret-and-public-keys 0EEA0F23C0051DFFE1AD5CF408DDAA857B879A26
  1. Try to import from qrcode files
./gpg2paper/gpg2paper.py import --pubkey /mnt/c/users/gun/gpg_key.pub --png --in *.png
scanned 1 barcode symbols from 1 images in 0.28 seconds

scanned 1 barcode symbols from 1 images in 0.24 seconds

scanned 2 barcode symbols from 1 images in 0.24 seconds

scanned 1 barcode symbols from 1 images in 0.2 seconds

CRC of secret does not match (5CBB88!=5A5099)
Unable to read secrets file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions