Skip to content

Instantly share code, notes, and snippets.

View darconeous's full-sized avatar
🦀

Robert Quattlebaum darconeous

🦀
View GitHub Profile
@darconeous
darconeous / coap-m2m-thoughts.md
Last active June 15, 2018 17:12
CoAP M2M Thoughts

CoAP M2M Thoughts

This is a set of loosely-organized notes about developing a flexible machine-to-machine protocol that uses CoAP.

The hope is to refine these thoughts into a standardized M2M protocol.

Pairing

@darconeous
darconeous / biosreport.txt
Last active July 28, 2018 15:28
LG N4B2 NAS Hacking Information #Hacking #Reverse-Engineering #Logs
--------------------------------------------------------------------------------
AMIBIOS Information Report
--------------------------------------------------------------------------------
BIOS Name: Pineview
ROM File: LG-N~BD6.ROM
Thu, Feb 02, 2012 09:21:29
BIOS MODULES
------------
@darconeous
darconeous / playground.rs
Last active May 17, 2019 23:52 — forked from rust-play/playground.rs
Code shared from the Rust Playground
/// Demonstration of a way to do polymorphic property lookup of standardized
/// collections of properties via simple traits and getter methods. This
/// approach could be extended to do things like fetch a list of the supported
/// keys, or expose aritrary traits via a property interface.
/// This is the trait that will be our general-purpose property interface. It
/// is intended to be used as a trait object.
///
/// This trait is implemented automatically by the `impl_super_trait!` macro,
@darconeous
darconeous / playground.rs
Last active May 29, 2019 17:56 — forked from rust-play/playground.rs
Code shared from the Rust Playground
/// Demonstration of compile-time key-value type safety.
///
/// This program demonstrates how you use Rust generics to encode type
/// information into the keys for a key-value store. This allows for
/// type-safe access to data in the store, preventing things like writing
/// strings to keys that should only contain integers. Attempting to
/// do so results in a compile-time error.
///
/// The example code is at the top of this file, the implementation details
/// are below the example.
@darconeous
darconeous / playground.rs
Last active July 2, 2019 01:55 — forked from rust-play/playground.rs
Code shared from the Rust Playground
use futures::prelude::*;
use pin_utils::unsafe_pinned;
use std::ops::Deref;
use std::pin::Pin;
use std::sync::Arc;
/// A container for a single object with lifetime that is bound to that of an `Arc`.
/// This is useful for passing around boxed futures that have a lifetime that is limited
/// to that of the object that created it.
///
@darconeous
darconeous / masrp.md
Last active September 9, 2019 21:51
Multiplexed Asynchronous Serial Reliability Protocol (MASRP)

Multiplexed Asynchronous Stream Reliability Protocol (MASRP)

Copyright (C) 2017 Nest Labs, All Rights Reserved

License

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Mechanism for Secure-by-Default Mesh Network Communication (Draft)

Overall goal is to remove the requirement that hosts keep track of a packet counter across resets. This is a common source of implementation difficulty. When not implemented correctly, it can severely compromise the security of the network.

Symmetric-Crypto Version

In the symmetric version of this scheme, there is a single secret

@darconeous
darconeous / small-merkle.md
Created August 3, 2015 21:54
More Efficient Merkle Signatures

More Efficient Merkle Signatures

Author: Robert Quattlebaum darco@deepdarc.com
Date: 2015-08-03

This document describes a mechanism for achieving a significant improvement in the efficiency of merle signatures, allowing public keys that are 5% smaller and signatures that are 37% smaller.

@darconeous
darconeous / oid.voria.net.txt
Last active November 12, 2019 23:10
oid.voria.net.txt
# voria.net, OID 1.3.6.1.4.1.45337
# BER Encoding: 2B 06 01 04 01 82 e2 99
# http://www.iana.org/assignments/enterprise-numbers/enterprise-numbers
1 3 6 1 : IANA
IANA 4 1 45337 : id-voria
# -------------------
id-voria 1 : id-voria-people
@darconeous
darconeous / id_rsa.pub
Last active January 7, 2020 01:46
SSH Public Keys #Security #openpgp #gpg #ssh #yubikey
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
# Hardware-backed Personal Keys
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4Y/rpKbKEQcBm0dCCHt90s6G945AtEtgG++EQ6v1+fgoQJkVTI2ajg8WDeXVFKxtuOO9QbW0LBHKOX650+9kjgRshF1Z/ystO0h2FSP8ic4PaP79W14qrszIS102vP168IxSLBsTA/X5yivwuLGbxzMEWA4IrAm1s2GRE0ZGWUmIhp7wps9cOhbVsfGXIMLcHAU6mXutfsVtzOjC6tS8NpitcmaMBAsJ2Hy8cyVDApm5vuNLUsPXtTwVNfxRX3d/O0xJ4YRFngTGKVUKb1acX7t0PyXUH0EA/xKy5yfTUoDXvGttz9UTEXsy07qKpVwOT566iDxpl3ie4J+hUaCtB openpgp:3640FDF505046F79
# Hardware-backed Work Keys
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJemMyZM7uY7rkJ65xWOW+z7mgU5E5MAtz+4MppZf7folk1UqI0Koe9V3bY+GxBgMjg1K9IFVfQSuG3qyFahwJU= rquattle+neo2451357-pubkey@google.com
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBL/SP/JuW8oZqNRvY1tQYYvDbGy35lJkLu+dt8sRx36zQ7yLZOFfVmh7qIQTxeF0oMZmYTCHtO2z58DmQ6CSWio= rquattle+neo3416702-pubkey@google.com