Skip to content

Instantly share code, notes, and snippets.

View dschuermann's full-sized avatar

Dominik Schürmann dschuermann

View GitHub Profile
@dschuermann
dschuermann / MainActivity.cs
Created June 3, 2020 18:07
Xamarin Example Activity
using System;
using Android.App;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Support.Design.Widget;
using Android.Views;
using Android.Webkit;
using AndroidX.AppCompat.App;
using DE.Cotech.HW.Fido2;

In order to clarify the intellectual property license granted with Contributions from any person to us ("Confidential Technologies GmbH"), Confidential Technologies GmbH must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of Confidential Technologies GmbH; it does not change your rights to use your own Contributions for any other purpose. If you have not already done so, please complete and electronically sign the form below.

Please read this document carefully before signing and keep a copy for your records.

Contributor License Agreement

Thank you for your contribution to this Confidential Technologies GmbH software project.

@dschuermann
dschuermann / OpenKeychain-CLA.md
Created September 27, 2017 13:56
OpenKeychain CLA

In order to clarify the intellectual property license granted with Contributions from any person to us ("Schürmann & Breitmoser GbR"), Schürmann & Breitmoser GbR must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of Schürmann & Breitmoser GbR; it does not change your rights to use your own Contributions for any other purpose. If you have not already done so, please complete and electronically sign the form below.

Please read this document carefully before signing and keep a copy for your records.

Contributor License Agreement

Thank you for your contribution to this Schürmann & Breitmoser GbR software project.

@dschuermann
dschuermann / openpgp.txt
Created December 31, 2015 13:52
OpenKeychain API Tests
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:73ee2314f65fa92ec2390d3a718c070100012282]
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this Github account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:73ee2314f65fa92ec2390d3a718c070100012282]
@dschuermann
dschuermann / yubikey-apdu.md
Last active August 29, 2015 14:27 — forked from darconeous/yubikey-apdu.md
Yubikey Applet #Security

The AID of the yubikey applet on the Yubikey Neo is A000000527200101.

You can select it with the APDU 00 a4 04 00 08 A0 00 00 05 27 20 01 01.

For the YubiKey applet there are 4 commands:

  • ins 0x01 is a YubiKey API request (as used by the yubico personalization tools) with command in p1
  • ins 0x02 is a request for an OTP with slot in p1 (zero indexed)
  • ins 0x03 is a YubiKey status request

OpenPGP deprecation wishlist

TODO:

  • S2K stuff
  • MUST NOT for old-style checksums

Various

Re 3.7.2.2:

### Keybase proof
I hereby claim:
* I am dschuermann on github.
* I am dschuermann (https://keybase.io/dschuermann) on keybase.
* I have a public key whose fingerprint is 73EE 2314 F65F A92E C239 0D3A 718C 0701 0001 2282
To claim this, I am signing this object:
@dschuermann
dschuermann / gist:6960439
Created October 13, 2013 10:00
AdAway log on Samsung Galaxy Tab 10.1, running PAC ROM 4.3
10-12 02:05:21.562 D/Xposed (15961): Starting Xposed binary version 37, compiled for SDK 16
10-12 02:05:21.562 D/Xposed (15961): Phone: GT-P7500 (samsung), Android version 4.3 (SDK 18)
10-12 02:05:21.562 D/Xposed (15961): ROM: cm_p4-userdebug 4.3 JLS36G eng.build.20130923.120411 test-keys
10-12 02:05:21.562 D/AndroidRuntime(15961):
10-12 02:05:21.562 D/AndroidRuntime(15961): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-12 02:05:21.562 D/AndroidRuntime(15961): CheckJNI is OFF
10-12 02:05:21.572 D/dalvikvm(15961): Trying to load lib libjavacore.so 0x0
10-12 02:05:21.582 D/dalvikvm(15961): Added shared lib libjavacore.so 0x0
10-12 02:05:21.592 D/dalvikvm(15961): Trying to load lib libnativehelper.so 0x0
10-12 02:05:21.592 D/dalvikvm(15961): Added shared lib libnativehelper.so 0x0
@dschuermann
dschuermann / gist:6954672
Created October 12, 2013 20:36
davdroid contacts.xml
<?xml version="1.0" encoding="utf-8"?>
<ContactsSource xmlns:android="http://schemas.android.com/apk/res/android">
<EditSchema>
<DataKind
kind="name"
maxOccurs="1"
supportsDisplayName="true"
supportsMiddleName="true"
supportsPhoneticFamilyName="true"
supportsPhoneticGivenName="true"