Skip to content

Instantly share code, notes, and snippets.

View lambdapioneer's full-sized avatar
🐡

Daniel Hugenroth lambdapioneer

🐡
View GitHub Profile
@lambdapioneer
lambdapioneer / cambrigistan.txt
Last active May 17, 2021 13:30
What is Cambrigistan?
The word Cambrigistan does not have any Google results (yet) -- 11th May 2020
The word Cambridistan only has this Gist as a Google result -- 17th May 2021
@lambdapioneer
lambdapioneer / SecureElementBenchmark.kt
Created April 8, 2020 16:25
Quick benchmark to measure the throughput of AES encryption/decryption operations of the secure element on Android.
package com.lambdapioneer.androidtee
import android.security.keystore.KeyGenParameterSpec
import android.security.keystore.KeyProperties.*
import android.util.Log
import java.security.KeyStore
import javax.crypto.Cipher
import javax.crypto.KeyGenerator
import javax.crypto.spec.GCMParameterSpec
import javax.crypto.spec.IvParameterSpec
@lambdapioneer
lambdapioneer / ephemeral_guest_account.md
Last active July 8, 2019 10:08
Setting up an ephemeral guest account on Ubuntu 19.04

Ephemeral guest account on Ubuntu 19.04

Ephemeral guest account: a non-password guest account that does not persist any data accross sessions. This is helpful for borrowing the computer to someone without any fear that they might mess up anything when e.g. downloading files. Also gives them a privacy guarantee.

I use the following steps to setup an ephemeral guest account on Ubuntu 19.04 replicating the behaviour of previos Ubuntu versions. With 18.04 (?) the switch to GDM meant the removal of the previous guest account feature.