Skip to content

Instantly share code, notes, and snippets.

Avatar

Nicolas Oliver dnoliver

View GitHub Profile
View README.md

Keylime

Setup on Microsoft Hyper-V VM

To setup in Microsoft Hyper-V VM, follow this Github Comment.

Patches Required

tpm2_main.patch

@dnoliver
dnoliver / README.md
Last active Apr 14, 2021
Trusted Boot
View README.md
View docker-compose.yml
version: "3.7"
services:
node-red:
image: nodered/node-red:latest
environment:
- TZ=America/Argentina
ports:
- "1880:1880"
networks:
- node-red-net
@dnoliver
dnoliver / README.md
Created Nov 3, 2020
Qt Download Sample
View README.md

Qt Download URL Sample

This sample have the code to download an image using http and https.

@dnoliver
dnoliver / Dockerfile
Last active Oct 12, 2020
Custom Application Using TPM PKCS11
View Dockerfile
FROM fedora:latest
RUN dnf install -y tpm2-pkcs11 tpm2-pkcs11-tools tpm2-tools gnutls-utils openssl-pkcs11 nodejs
VOLUME /etc/tpm2_pkcs11
VOLUME /root/test
WORKDIR /root/test
CMD bash
@dnoliver
dnoliver / openvpn-pkcs11-test.sh
Last active Jul 27, 2020
Test OpenVPN PKCS11 Support
View openvpn-pkcs11-test.sh
#!/bin/bash
set -euxo pipefail
# This script reproduces https://github.com/tpm2-software/tpm2-pkcs11/issues/67
# WARNING: Clear the TPM and deletes the PKCS11 DB
# REQUIRES:
# dnf install -y tpm2-pkcs11 tpm2-pkcs11-tools tpm2-tools gnutls-utils openvpn
echo "OpenVPN Server Setup"
View advantech.md

Firmware and BIOS

Firmware Update Manager version

[root@localhost-live liveuser]# fwupdmgr --version
client version:	1.5.0
compile-time dependency versions
	gusb:	0.3.4
	efivar:	37
View test.py
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib
import sys
import time
## Pre-procesar datos
ConfirmedCases_raw = pd.read_csv('https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv')
Deaths_raw = pd.read_csv('https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv')
@dnoliver
dnoliver / README.md
Last active Dec 9, 2020
Linux Integrity Measurement Architecture (IMA) Helpers
View README.md

IMA Helper Scripts