Difference between revisions of "BHNT67/Paperback"

From Berlin Hack & Tell Wiki
Jump to: navigation, search
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
* Paper Data Storage Option (2009)  
+
Presented as "Paperback Part 1" on [https://berlinhackandtell.rocks/ Berlin Hack and Tell] BHNT 67 c-base Berlin, 2018-01-29
 +
 
 +
=== Digital data archiving on paper ===
 +
* Paper Data Storage Option (2009)
 
: https://blog.codinghorror.com/the-paper-data-storage-option/
 
: https://blog.codinghorror.com/the-paper-data-storage-option/
* Die ganze Wikipedia ausdrucken:  
+
* Die ganze deutsche oder englische Wikipedia ausdrucken:  
: https://en.wikipedia.org/wiki/Print_Wikipedia Print Wikipedia is an art project by Michael Mandiberg that printed 106 of the 7,473 volumes of English Wikipedia as it existed on April 7, 2015. Die ganze deutschsprachige Wikipedia auszudrucken und zu binden, ergäbe sehr viele Bände. Um genau zu sein: Derzeit wären es 3406. Das hat Michael Mandiberg herausgefunden, ein US-amerikanischer Künstler. Er hat alle deutschsprachigen Wikipedia-Artikel in eine Buchvorlage verwandelt und einhundert Bände davon gedruckt. Die restlichen Bücher sind im Berliner Projektraum Import Projects als Fototapete an die Wand geklebt. Zusammen ergeben sie die Ausstellung "Print Wikipedia: from Aachen to Zylinderdruckpresse", die an diesem Samstag für Besucher eröffnet. Mandibergs Werk zeigt: Auf Bücherregalen aufgereiht, würde die deutschsprachige Wikipedia ein ganzes Zimmer füllen. An drei hohen Altbauwänden würden die Regale bis kurz unter die Decke reichen, vollgestopft mit Bänden von A wie Aachen über MAM wie Mammutbäume bis UNF wie Unfallforschung. Allein die Artikel zur DDR erstrecken sich über drei Bände, fast alles wird dokumentiert, etwa die "DDR-Oberliga (Badminton)". Insgesamt umfasst die deutsche Wikipedia fast zwei Millionen Artikel, weltweit sind es 37 Millionen. Gigabyte-Angaben sind abstrakt, Bücher sind konkret. 3406 Bände sind beeindruckend und überschaubar zugleich. Ein ganzer Raum voller Menschheitswissen, Stand März 2016. Das Projekt sei Kunstwerk und Datenvisualisierung zugleich, sagt Mandiberg. (201605)
+
: https://en.wikipedia.org/wiki/Print_Wikipedia Print Wikipedia is an art project by Michael Mandiberg that printed 106 of the 7,473 volumes of English Wikipedia as it existed on April 7, 2015. Die ganze deutschsprachige Wikipedia auszudrucken und zu binden, würde derzeit (Stand 201603) 3406 Bände benötigen. Auf Bücherregalen aufgereiht, würde die deutschsprachige Wikipedia ein ganzes Zimmer füllen. Insgesamt umfasst die deutsche Wikipedia fast zwei Millionen Artikel, weltweit sind es 37 Millionen. Das Projekt sei Kunstwerk und Datenvisualisierung zugleich, sagt Mandiberg.
 
: https://www.sueddeutsche.de/digital/kunstausstellung-einmal-die-wikipedia-ausdrucken-bitte-1.3009520  
 
: https://www.sueddeutsche.de/digital/kunstausstellung-einmal-die-wikipedia-ausdrucken-bitte-1.3009520  
 
* "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)  
 
* "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)  
Line 10: Line 13:
 
* Paper SSH & GPG key backups | piggott.me.uk (201505)
 
* Paper SSH & GPG key backups | piggott.me.uk (201505)
 
: https://www.dhpiggott.net/2015/05/20/paper-ssh-gpg-key-backups/
 
: 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)
 
* 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
 
: http://www.grant-trebbin.com/2015/05/encode-and-decode-file-backed-up-as.html
Line 21: Line 20:
 
* Cryptographi: Piper: A bitcoin hardware paper wallet printer (stopped selling it in 201609)
 
* Cryptographi: Piper: A bitcoin hardware paper wallet printer (stopped selling it in 201609)
 
: https://cryptographi.com/pages/support
 
: https://cryptographi.com/pages/support
* PaperBack (2007-2013; Windows)
+
 
 +
=== PaperBack ===
 +
* PaperBack (2007-2013; Windows). Original page where it all began. "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/
 
: 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
+
 
 +
==== List of similar projects ====
 +
* https://startpage.com/do/search?q=Long-term+archiving+of+digital+data+on+microfilm&lui=deutsch&l=deutsch
 +
* List of similar projects https://github.com/Wikinaut/paperbackup/blob/patch-1/README.md
 +
* https://github.com/Rupan/paperbak/wiki Overview page about Paperbak, what references it and sister-projects, link list
 +
 
 +
==== forks ====
 +
* Rupan/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
: https://github.com/Rupan/paperbak/issues/1
+
: https://github.com/Rupan/paperbak/issues/1 Bounty
==== forks and similar projects ====
 
 
* This project aims to port https://github.com/Rupan/paperbak into python cross-platform application  
 
* This project aims to port https://github.com/Rupan/paperbak into python cross-platform application  
 
: https://github.com/BrnoPCmaniak/python-paperbak/ (201705)
 
: https://github.com/BrnoPCmaniak/python-paperbak/ (201705)
* List of similar projects https://github.com/Wikinaut/paperbackup/blob/patch-1/README.md
 
 
* paperbackup.py: Create a pdf with barcodes to backup text files on paper. Designed to backup ASCII-armored GnuPG and SSH key files and ciphertext. (201811)
 
* paperbackup.py: Create a pdf with barcodes to backup text files on paper. Designed to backup ASCII-armored GnuPG and SSH key files and ciphertext. (201811)
 
: https://github.com/intra2net/paperbackup
 
: 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)
 
* 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
 
: https://github.com/tuxlifan/paperbackup
Line 38: Line 43:
 
* Easy Paper Backups of ASCII PGP Keys: Shell scripts to convert between ascii armor PGP keys and QR codes for paper backup. (201707)
 
* 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)
 
: https://github.com/4bitfocus/asc-key-to-qr-code (see also its forks)
 
 
* Cold store small files on paper as QR codes -- PGP keys, Bitcoin keys, Tox keys or any other small files in general. (201808)
 
* Cold store small files on paper as QR codes -- PGP keys, Bitcoin keys, Tox keys or any other small files in general. (201808)
 
: https://github.com/nurupo/paper-store
 
: https://github.com/nurupo/paper-store
 
: [[File:nurupo-example.png]]
 
: [[File:nurupo-example.png]]
 
=== 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 ===
 
=== References and further resources ===
Line 69: Line 65:
 
* 2012 QR codes for backup ? http://blog.liw.fi/posts/qr-backup/
 
* 2012 QR codes for backup ? http://blog.liw.fi/posts/qr-backup/
 
* 2013 Generating QR Codes in Linux http://www.linux-magazine.com/Online/Features/Generating-QR-Codes-in-Linux
 
* 2013 Generating QR Codes in Linux http://www.linux-magazine.com/Online/Features/Generating-QR-Codes-in-Linux
 +
* generating QR codes with javascript in the browser https://www.jsqr.de/encode.html
 +
* https://github.com/rugk/offline-qr-code (#35C3 Lightning Talk https://github.com/rugk/offline-qr-code-35c3 and [https://media.ccc.de/v/35c3-9566-lightning_talks_day_2#t=6331 recording])
 +
* Decoding QR codes in the browser https://github.com/LazarSoft/jsqrcode and https://webqr.com/ and others
  
 
=== Archiving PGP/GPG keys on paper ===
 
=== Archiving PGP/GPG keys on paper ===
Line 110: Line 109:
 
: http://ronja.twibright.com/optar/
 
: http://ronja.twibright.com/optar/
 
: [[File:Optar_closeup.png]]
 
: [[File: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)  
+
 
 +
=== paperback-cli ===
 +
* '''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://github.com/Wikinaut/paperback-cli
[[File:d80-s100.png]] [[File:10-gray300dpi.png]]
+
{|
 +
| [[File:D80-s100-printed-fine.png]]
 +
| [[File:d80-s100.png|250px]]
 +
| [[File:D80-s100-scanned-300dpi.png]]
 +
| [[File:10-gray300dpi.png|250px]]
 +
|}
 
<pre>
 
<pre>
 
./paperback-cli --encode -d 80 -s 100 -i in.txt -o d80-s100.bmp
 
./paperback-cli --encode -d 80 -s 100 -i in.txt -o d80-s100.bmp
Line 159: Line 169:
 
<pre>
 
<pre>
 
Hier ist unser Pad für PaperBak und Co., begonnen am 04.11.2015
 
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
 
https://github.com/ZBar/ZBar
  
 
./configure  
 
./configure  
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
+
Dann habe ich von software.opensuse.org "zbar" geladen, das enthält zbarimg und dmtxwrite?
configure: error: cannot find install-sh, install.sh, or shtool in  config "."/config
+
Sind die in irgendwelchen standard-suse-paketen dabei oder hast du diese selbstgebaut?
Dann habe ich von software.opensuse.org "zbar" geladen, das enthält zbarimg  
+
 
 +
https://github.com/dmtx/dmtx-utils
  
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.
  
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.
 
Ü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."
 
"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
 
       #!/bin/bash
     
 
 
       # coding and decoding of a file into QR- or Datamatrix-codes
 
       # coding and decoding of a file into QR- or Datamatrix-codes
 
       # codecode.sh <infile>
 
       # codecode.sh <infile>
Line 200: Line 196:
 
              
 
              
 
       # QR code
 
       # QR code
     
+
 
 
       qrchunk=1024
 
       qrchunk=1024
 
        
 
        
Line 225: Line 221:
 
        
 
        
 
       # Datamatrix decode
 
       # Datamatrix decode
       # Problem 2: dmtxread kann nicht mehrere           image files einlesen
+
       # 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
+
      # 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
 
       # dmtxread $(ls $1-dmtx*.png | sort -n) > $1_dmtx-decoded
 
  </pre>
 
  </pre>

Revision as of 11:25, 30 January 2019

Presented as "Paperback Part 1" on Berlin Hack and Tell BHNT 67 c-base Berlin, 2018-01-29

Digital data archiving on paper

  • Paper Data Storage Option (2009)
https://blog.codinghorror.com/the-paper-data-storage-option/
  • Die ganze deutsche oder englische Wikipedia ausdrucken:
https://en.wikipedia.org/wiki/Print_Wikipedia Print Wikipedia is an art project by Michael Mandiberg that printed 106 of the 7,473 volumes of English Wikipedia as it existed on April 7, 2015. Die ganze deutschsprachige Wikipedia auszudrucken und zu binden, würde derzeit (Stand 201603) 3406 Bände benötigen. Auf Bücherregalen aufgereiht, würde die deutschsprachige Wikipedia ein ganzes Zimmer füllen. Insgesamt umfasst die deutsche Wikipedia fast zwei Millionen Artikel, weltweit sind es 37 Millionen. Das Projekt sei Kunstwerk und Datenvisualisierung zugleich, sagt Mandiberg.
https://www.sueddeutsche.de/digital/kunstausstellung-einmal-die-wikipedia-ausdrucken-bitte-1.3009520
  • "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/
  • 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

  • PaperBack (2007-2013; Windows). Original page where it all began. "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/

List of similar projects

forks

  • Rupan/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 Bounty
https://github.com/BrnoPCmaniak/python-paperbak/ (201705)
  • paperbackup.py: Create a pdf with barcodes to backup text files on paper. Designed to backup ASCII-armored GnuPG and SSH key files and ciphertext. (201811)
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)
  • Cold store small files on paper as QR codes -- PGP keys, Bitcoin keys, Tox keys or any other small files in general. (201808)
https://github.com/nurupo/paper-store
Nurupo-example.png

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

  • 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
D80-s100-printed-fine.png D80-s100.png D80-s100-scanned-300dpi.png 10-gray300dpi.png
./paperback-cli --encode -d 80 -s 100 -i in.txt -o d80-s100.bmp
#./paperback-cli --encode -d 80 -s 80 -i in.txt -o d80-s80.bmp

# print
# printing...

# scan with to gray-300dpi.png
# scanning...

convert scan-gray300dpi.png -type Palette -depth 8 -compress none bmp3:scan.bmp
./paperback-cli --decode -i scan.bmp -o out.txt
Decoding scan.bmp into x.x
Reading scan.bmp...
Searching for raster...
Searching for grid lines...
Decoding
ngood: 474
nbad: 0
nsuper: 12
nrestored: 324
Page processed
File complete
File saved
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

https://github.com/ZBar/ZBar

./configure 
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.

Ü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