BHNT67/Paperback

From Berlin Hack & Tell Wiki
Revision as of 00:41, 29 January 2019 by Wikinaut (talk | contribs)
Jump to: navigation, search
  • "I am looking for a tool that to export a GPG private key to a Data Matrix 2d barcode for long-term archival"
TPK Archival https://www.mail-archive.com/gnupg-users@gnupg.org/msg10826.html
  • "Paper is a safe way to backup a secret key: ... If you want to store your GnuPG secret key on a paper sheet, it is quite simple to do."
HOWTO Backup your GnuPG secret key on paper · /dev/schnouki https://schnouki.net/posts/2010/03/22/howto-backup-your-gnupg-secret-key-on-paper/
  • Paper SSH & GPG key backups | piggott.me.uk
https://www.dhpiggott.net/2015/05/20/paper-ssh-gpg-key-backups/
  • QR codes for backup?
http://blog.liw.fi/posts/qr-backup/
  • Generating QR Codes in Linux » Linux Magazine
http://www.linux-magazine.com/Online/Features/Generating-QR-Codes-in-Linux
  • Grant Trebbin: Simple Data Backup with Paper Based QR Codes
http://www.grant-trebbin.com/2015/05/encode-and-decode-file-backed-up-as.html
  • paperbank
https://github.com/makevoid/paperbank
  • PaperBack
http://ollydbg.de/Paperbak/
  • Making Computer Backups - On Paper?!
YouTube https://www.youtube.com/watch?v=Q6UctIrZuz4
  • Paperbak lets you back up your files onto paper…yes paper! [Freeware] | The Red Ferret Journal
http://www.redferret.net/?p=33146
  • A paper-based backup solution (not as stupid as it sounds) | ExtremeTech
http://www.extremetech.com/extreme/134427-a-paper-based-backup-solution-not-as-stupid-as-it-sounds#disqus_thread
  • Meine Geschichte über Rechenhilfsmittel
http://www.peterkernwein.de/Rechengeraete-Sammlung/paperdisk.htm
  • dvdisaster
http://dvdisaster.net/de/download.html
  • PaperBack: Backing up on… paper? | ITProPortal.com
http://www.itproportal.com/2012/08/15/paperback-backing-up-on-paper/
  • Cryptographi: Piper: A bitcoin hardware paper wallet printer
http://cryptographi.com/pages/support
  • paperbak (memo)
https://pads.ccc.de/*
Hier ist unser Pad für PaperBak und Co., begonnen am 04.11.2015
(helle Farben sind besser)

Links:
 * https://startpage.com/do/search?q=Long-term+archiving+of+digital+data+on+microfilm&lui=deutsch&l=deutsch
 * http://publik.tuwien.ac.at/files/PubDat_191964.pdf Long-term archiving of digital data on microfilm (2010)
 * 
 * 

Woher hats du zbarimng 
hatte Dir berichtet, dass mein build von github nicht ging. 

https://github.com/ZBar/ZBar

./configure 
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu 
configure: error: cannot find install-sh, install.sh, or shtool in  config "."/config 
Dann habe ich von software.opensuse.org "zbar" geladen, das enthält zbarimg 

und dmtxwrite? Sind die in irgendwelchen standard-suse-paketen dabei oder hast du diese selbstgebaut? https://github.com/dmtx/dmtx-utils

ich habe mich mit QR- und Datamatrix beschäftigt. Gebe jetzt erstmal auf. Anbei ein Testprogramm, darin habe ich meine bisher gefundenen Probleme aufgeführt.
      
Vielleicht weißt Du Rat. Eigentlich bin ich jetzt ganz scharf, ein vernünftiges Verfahren zu haben.
      
Übrigens: Die Datendichte mit QR oder DMTX ist nicht so hoch wie bei Paperbak... das Thema legen wir erstmal zur Seite.

"If you have a good laser printer with the 600 dpi resolution,  you can save up to 500,000 bytes of uncompressed data on the single A4/Letter sheet. Integrated packer allows for much better data density - up to 3,000,000+ (three megabytes) of C code per page."
      
      
      #!/bin/bash
      
      # coding and decoding of a file into QR- or Datamatrix-codes
      # codecode.sh <infile>
      
      # Literature / sources:
      # https://www.mail-archive.com/gnupg-users@gnupg.org/msg10827.html
      # https://schnouki.net/posts/2010/03/22/howto-backup-your-gnupg-secret-key-on-paper/
      # https://www.piggott.me.uk/2015/05/20/paper-ssh-gpg-key-backups/
      # http://blog.liw.fi/posts/qr-backup/
      # http://www.grant-trebbin.com/2015/05/encode-and-decode-file-backed-up-as.html
            
      # QR code
      
      qrchunk=1024
      
      split -a 2 -b $qrchunk -d $1 $1.chunk-
      for file in ./$1.chunk-*; do qrencode -8 -l M -o $file.png <       $file; rm $file; done
      montage -label '%f' $1.chunk-*.png -geometry '1x1<' -tile 2x       $1-qr.png
      # 2x3 pro Seite (image)
      # montage -label '%f' $1.chunk-*.png -geometry '1x1<' -tile 2x3       $1-qr.png
      rm $1.chunk-*.png
      
      # QR decode
      zbarimg --raw $(ls $1-qr*.png | sort -n) > $1_qr-decoded
      # Problem 1: $1_qr-decoded != $1
            
      # Datamatrix code
      dmtxchunk=512
      
      split -a 2 -b $dmtxchunk -d $1 $1.chunk-
      for file in ./$1.chunk-*; do dmtxwrite -e 8 $file > $file.png;       rm $file; done
      montage -label '%f' $1.chunk-*.png -geometry '1x1<' -tile 2x       $1-dmtx.png
      # 2x3 pro Seite (image)
      # montage -label '%f' $1.chunk-*.png -geometry '1x1<' -tile 2x3       $1-dmtx.png
      rm $1.chunk-*.png
      
      # Datamatrix decode
      # Problem 2: dmtxread kann nicht mehrere           image files einlesen
        # Problem 3: dmtxread hat auch Probleme, wenn mehrere           (oder zu viele?) Datamatrix-Codes in einem Image sind
      # dmtxread $(ls $1-dmtx*.png | sort -n) > $1_dmtx-decoded