Skip to content

Instantly share code, notes, and snippets.

View dsendkowski's full-sized avatar
🇵🇱
...

Dariusz K. Sendkowski dsendkowski

🇵🇱
...
  • Poland
  • 01:43 (UTC +02:00)
View GitHub Profile
@dsendkowski
dsendkowski / encrypted.md
Created January 9, 2020 10:58
OpenBSD: create encrypted device over RAID1

We have two disks sd0 and sd1. First, we need to prepare our disks.

$ doas fdisk -iyg sd0
$ doas fdisk -iyg sd1

Then, create RAID partitions:

# Removing a remote tag TAG
git push origin :refs/tags/TAG
System Configuration: ASUSTeK COMPUTER INC. i86pc
Memory size: 65425 Megabytes
System Peripherals (Software Nodes):
i86pc
System properties:
name='relative-addressing' type=int items=1
value=00000001
name='MMU_PAGEOFFSET' type=int items=1
value=00000fff
System Configuration: ASUSTeK COMPUTER INC. i86pc
Memory size: 65425 Megabytes
System Peripherals (Software Nodes):
i86pc
System properties:
name='relative-addressing' type=int items=1
value=00000001
name='MMU_PAGEOFFSET' type=int items=1
value=00000fff
$ openssl x509 -noout -modulus -in stary.cert | openssl md5
(stdin)= 58c0ec9dbdbe590116ec9f9482485dff
$ openssl rsa -noout -modulus -in server.key | openssl md5
(stdin)= 58c0ec9dbdbe590116ec9f9482485dff
$ openssl req -noout -modulus -in 1475011.csr | openssl md5
(stdin)= 58c0ec9dbdbe590116ec9f9482485dff
protected Class<?> loadClass(String name, boolean resolve)
throws ClassNotFoundException
{
synchronized (getClassLoadingLock(name)) {
// First, check if the class has already been loaded
Class c = findLoadedClass(name);
if (c == null) {
long t0 = System.nanoTime();
try {
if (parent != null) {