Skip to content

Manu-sh/greenpass_qrcode_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

greenpass qrcode reader

decode & dump data from greenpass 📄

Dependencies: base45-ansi-C, zlib, COSE-C, zbar, libpng.

About base45-ansi-C it raise many warning because it make an signed integer overflow (which is UB) i don't care for now, but it's important to know i have opened a pull request for this.

Install deps (archlinux)

pacman -S zbar zlib libpng

Build

# then into the folder
mkdir -p build && cd build
cmake ..
make -j`nproc`

Or if you want use mold linker

mkdir -p build && cd build
cmake .. -DCMAKE_EXE_LINKER_FLAGS='-fuse-ld=mold' -DCMAKE_SHARED_LINKER_FLAGS='-fuse-ld=mold'
make -j`nproc`

Useful links

TODO

  • memory overlap warning into zbar library (try with another version) valgrind --undef-value-errors=no --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes ./greenpass_qrcode_reader
Copyright © 2021, Manu-sh, s3gmentationfault@gmail.com. Released under the MIT license.

About

read and decode greenpass data from .png greenpass qrcode

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published