Skip to content

Instantly share code, notes, and snippets.

View pasztor's full-sized avatar

PÁSZTOR György pasztor

View GitHub Profile
@pasztor
pasztor / freebsd_yubikey_authentication.md
Created November 1, 2022 23:07 — forked from daemonhorn/freebsd_yubikey_authentication.md
Setting up yubikey/solo2 for piv and fido2 authentication on FreeBSD (Firefox, Chromium, PAM, and SSH)

Overview

How to configure FreeBSD and applicable applications to work with Yubikey for authentication. This serves as my work-in-progress documentation of the configuration knobs needed to make this work properly. All tests were performed with an upto date FreeBSD 13.1 x64 installation as of Aug 2022.

  • FreeBSD ssh with piv smartcard slot on Yubikey (pkcs11 via libykcs11.so)
  • FreeBSD ssh with fido support on Yubikey
  • FreeBSD Firefox/Chromium with fido + webauthn support on Yubikey
  • FreeBSD local console and gdm authentication using pam on Yubikey
  • FreeBSD official YubiKey tools

These functions can co-exist without stomping on each other's usb usage (unlike gpg from my last test). See https://ludovicrousseau.blogspot.com/2019/06/gnupg-and-pcsc-conflicts.html for some background / workarounds.

@pasztor
pasztor / android-backup-apk-and-datas.md
Created August 10, 2022 14:40 — forked from AnatomicJC/android-backup-apk-and-datas.md
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

Fetch application APK

Keybase proof

I hereby claim:

  • I am pasztor on github.
  • I am pasztor (https://keybase.io/pasztor) on keybase.
  • I have a public key whose fingerprint is BC58 59D3 FFC5 1057 67AB 0C00 5B2C A820 69A2 F424

To claim this, I am signing this object: