Skip to content

Instantly share code, notes, and snippets.

View metux's full-sized avatar

Enrico Weigelt metux

  • metux IT consult
  • DE Ilmenau
View GitHub Profile
@metux
metux / totp-token.py
Created September 21, 2023 10:53
simple TOTP token generator w/ qrcode image decoding
#!/usr/bin/env python3
# deps: zbar-tools, oathtool
#
# call it as toptp-token.py <qrimage-filename>
#
# 1. decodes the qrcode image via zbar-img
# 2. parses totp url and extracts parameters (secret, stepping, algo, ...)
# 3. calls oathtool to generate the current token
import subprocess
@metux
metux / mission-statement
Last active August 18, 2017 12:58
Mission statement
LIBREZILLA - MISSION STATEMENT
The project aims to create a *really* free fork of Mozilla software, like Firefox and Thunderbird,
taking the needs of users, operators and distro maintainers seriously, and get rid of anything
that engangers freedom and privacy/security, like Despostic Restriction Management and Spyware
("SaferWeb" that sends pivate data to google, position and movement tracking by websites, etc).
In contrast to Mozilla - a frontend organisation of Google and Netflix - Librezilla does NOT
serve corporate interests. Important technology, like Browsers, do not belong into the hands
of mega-corporations. We, the people, should be deserve, and demand control.