Difference between revisions of "BHNT67/Paperback"

From Berlin Hack & Tell Wiki
Jump to: navigation, search
(Bitcoin paperwallet, paperkey, paperbank)
Line 75: Line 75:
 
* Bitcoin Paper Key - using a thermal USB printer and a basic linux box (like a Raspberry Pi) - Bitcoin Paper Wallet Generator https://github.com/makevoid/paperbank/
 
* Bitcoin Paper Key - using a thermal USB printer and a basic linux box (like a Raspberry Pi) - Bitcoin Paper Wallet Generator https://github.com/makevoid/paperbank/
 
* http://cryptographi.com/pages/support/
 
* http://cryptographi.com/pages/support/
 +
 +
* Paperkey - an OpenPGP key archiver by David Shaw. Due to metadata and redundancy, OpenPGP secret keys are significantly larger than just the "secret bits". In fact, the secret key contains a complete copy of the public key. Since the public key generally doesn't need to be escrowed (most people have many copies of it on various keyservers, web pages, or similar), only archiving the secret parts can be a real advantage. Paperkey extracts just those secret bytes and prints them. A reasonable way to achieve a long term backup of OpenPGP (GnuPG, PGP, etc) keys is to print them out on paper. Paper and ink have amazingly long retention qualities - far longer than the magnetic or optical means that are generally used to back up computer data. (2007-2018)
 +
: http://www.jabberwocky.com/software/paperkey/
 +
* Producing printable QR codes for persistent storage of GPG private keys (201510)
 +
: https://gist.github.com/joostrijneveld/59ab61faa21910c8434c
 +
* easy-gpg-to-paper aims to make exporting your secret gpg key to paper, and then restoring from paper, an easy and painless process.
 +
: https://github.com/balos1/easy-gpg-to-paper
  
 
* Making Computer Backups - On Paper?! Youtube video of PaperBack v1.00 (200907)
 
* Making Computer Backups - On Paper?! Youtube video of PaperBack v1.00 (200907)

Revision as of 02:58, 29 January 2019

  • "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 (200903)
https://www.mail-archive.com/gnupg-users@gnupg.org/msg10826.html
  • HOWTO Backup your GnuPG secret key on paper · /dev/schnouki "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." (201003)
https://schnouki.net/posts/2010/03/22/howto-backup-your-gnupg-secret-key-on-paper/
  • Paper SSH & GPG key backups | piggott.me.uk (201505)
https://www.dhpiggott.net/2015/05/20/paper-ssh-gpg-key-backups/
  • QR codes for backup? (~2012)
http://blog.liw.fi/posts/qr-backup/
  • Generating QR Codes in Linux » Linux Magazine (201308)
http://www.linux-magazine.com/Online/Features/Generating-QR-Codes-in-Linux
  • Grant Trebbin: Simple Data Backup with Paper Based QR Codes (201505)
http://www.grant-trebbin.com/2015/05/encode-and-decode-file-backed-up-as.html
  • paperbank: Bitcoin Paper Key generator - using a thermal or photo pocket USB printer and a basic linux box (like a RaspberryPi) - Paper Wallet Generator (201602)
https://github.com/makevoid/paperbank (201602)
https://github.com/makevoid/paperbank-pocket (201803)
  • Cryptographi: Piper: A bitcoin hardware paper wallet printer (stopped selling it in 201609)
https://cryptographi.com/pages/support
  • PaperBack (2007-2013; Windows)
http://ollydbg.de/Paperbak/
  • Paperbak: Back up your files on ordinary paper in the form of oversized bitmaps This goal of this project is to: i) document the process by which Paperbak is built ii) fix its crypto implementation
https://github.com/Rupan/paperbak
https://github.com/Rupan/paperbak/issues/1

forks and similar projects

https://github.com/BrnoPCmaniak/python-paperbak/ (201705)
https://github.com/intra2net/paperbackup
  • Tuxlifan/paperbackup: Should behave the same as this paperbackup but with using reportlab instead of PyX/LaTeX for PDF generation. (201809)
https://github.com/tuxlifan/paperbackup
Tuxlifan-example.png
  • Easy Paper Backups of ASCII PGP Keys: Shell scripts to convert between ascii armor PGP keys and QR codes for paper backup. (201707)
https://github.com/4bitfocus/asc-key-to-qr-code (see also its forks)

Link list from Rupan/paperbak

Overview page about Paperbak, what references it and sister-projects

copy from https://github.com/Rupan/paperbak/wiki Link list

Paperbak

  • Original page "PaperBack is a free application that allows you to back up your precious files on the ordinary paper in the form of the oversized bitmaps." http://ollydbg.de/Paperbak/

References and further resources

Table 5 paperbak-archive.png
This study shows that it is possible to store digital data (i.e., files or documents) on microfilm and to convert them back to a digital format. This offers a viable solution for the permanent storage of the original data streams as defined in most archival regimes in e-Government settings and long-term archives.
http://publik.tuwien.ac.at/files/PubDat_191964.pdf
List of Storage hierarchy media with costs.png

QR codes

Archiving PGP/GPG keys on paper

Bitcoin paperwallet, paperkey, paperbank

  • Paperwallet
https://en.bitcoin.it/wiki/Paper_wallet
https://blockchain.info/wallet/paper-tutorial
https://www.bitaddress.org
Bitaddress-example.png
  • Paperkey - an OpenPGP key archiver by David Shaw. Due to metadata and redundancy, OpenPGP secret keys are significantly larger than just the "secret bits". In fact, the secret key contains a complete copy of the public key. Since the public key generally doesn't need to be escrowed (most people have many copies of it on various keyservers, web pages, or similar), only archiving the secret parts can be a real advantage. Paperkey extracts just those secret bytes and prints them. A reasonable way to achieve a long term backup of OpenPGP (GnuPG, PGP, etc) keys is to print them out on paper. Paper and ink have amazingly long retention qualities - far longer than the magnetic or optical means that are generally used to back up computer data. (2007-2018)
http://www.jabberwocky.com/software/paperkey/
  • Producing printable QR codes for persistent storage of GPG private keys (201510)
https://gist.github.com/joostrijneveld/59ab61faa21910c8434c
  • easy-gpg-to-paper aims to make exporting your secret gpg key to paper, and then restoring from paper, an easy and painless process.
https://github.com/balos1/easy-gpg-to-paper
  • Making Computer Backups - On Paper?! Youtube video of PaperBack v1.00 (200907)
https://www.youtube.com/watch?v=Q6UctIrZuz4
  • Paperbak lets you back up your files onto paper…yes paper! [Freeware] | The Red Ferret Journal (201208)
https://www.redferret.net/?p=33146
  • A paper-based backup solution (not as stupid as it sounds) | ExtremeTech (201208)
https://www.extremetech.com/extreme/134427-a-paper-based-backup-solution-not-as-stupid-as-it-sounds#disqus_thread
  • Meine Geschichte über Rechenhilfsmittel: Die Computerzeitschriften der 1970er Jahre enthielten oft seitenlange Listings, die recht mühsam abgetippt werden mussten. Die Zeitschrift mc - Magazin für Computerpraxis wollte hier Abhilfe schaffen und entwickelte die mc-Paperdisk. (201302)
http://www.peterkernwein.de/Rechengeraete-Sammlung/paperdisk.htm
  • dvdisaster: dvdisaster is a computer program aimed to enhance data survivability on optical discs by creating error detection and correction data, which is used for data recovery. dvdisaster works exclusively at the (iso) image level.
http://dvdisaster.net/de/download.html (dead page, 201901) | Manual (from archive.org)
https://www.heise.de/download/product/dvdisaster-22039
https://en.wikipedia.org/wiki/Dvdisaster
https://github.com/lrq3000/dvdisaster
  • PaperBack: Backing up on… paper? | ITProPortal.com
https://www.itproportal.com/2012/08/15/paperback-backing-up-on-paper/ (201208)
  • Optar stands for OPTical ARchiver. It's a codec for encoding data on paper or free software 2D barcode in other words. Optar fits 200kB on an A4 page, then you print it with a laser printer. If you want to read the recording, scan it with a scanner and feed into the decoder program. A practical level of reliability is ensured using forward error correction code (FEC). Automated processing of page batches facilitates storage of files larger than 200kB. (2016?)
http://ronja.twibright.com/optar/
Optar closeup.png
  • paperback-cli: Relatively high density file backups on paper. Cross-platform CLI port of Ollydb. This is a repo copy and fork of https://git.teknik.io/scuti/paperback-cli by Surkeh. Paperback-cli is the crossplatform, backwards-compatible, command line version of Oleh Yuschuk’s PaperBack. Originally designed to print encoded data directly to paper, it has been simplified to focus on encoding and decoding bitmaps that can be written to any printable media via whatever printing mechanism is available to your system. Recommended for small files such as cryptocurrency wallets, key revocation certificates, password databases, and any other important data only a few megabytes large. While the capacity is small compared to conventional storage media, this program encodes or decodes non-electronic backups characteristically resilient to or unaffected by electromagnetic disturbance, water, and heat. (201701)
https://github.com/Wikinaut/paperback-cli
https://git.teknik.io/scuti/paperback-cli

ColorSafe

  • A colorized data storage scheme for printing on paper.
https://github.com/colorsafe/colorsafe
1 bit (BW; default) 2 bit (CMY+White) 3 bit (BW+RGB+CMY)
Sector c1.png Sector c2.png Sector c3.png

PaperBak (memo)

  • 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