Skip to content

Instantly share code, notes, and snippets.

Avatar

Dominik Schürmann dschuermann

View GitHub Profile
@dschuermann
dschuermann / MainActivity.cs
Created Jun 3, 2020
Xamarin Example Activity
View MainActivity.cs
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;
View Hwsecurity-CLA.md

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.

View OpenKeychain-CLA.md

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 Dec 31, 2015
OpenKeychain API Tests
View openpgp.txt
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]
View OpenPGP Linked Identity
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 Aug 29, 2015 — forked from darconeous/yubikey-apdu.md
Yubikey Applet #Security
View yubikey-apdu.md

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
View opgpw.markdown

OpenPGP deprecation wishlist

TODO:

  • S2K stuff
  • MUST NOT for old-style checksums

Various

Re 3.7.2.2:

View gist:11248135
### 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 Oct 13, 2013
AdAway log on Samsung Galaxy Tab 10.1, running PAC ROM 4.3
View gist:6960439
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 Oct 12, 2013
davdroid contacts.xml
View gist:6954672
<?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"