This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$> alias libreswanTLSTest='openssl s_client -connect download.libreswan.org:443 -CApath /etc/ssl/certs -verify_hostname download.libreswan.org 2>/dev/null </dev/null | grep "Verify"' | |
$> alias libreswanTLSTestSNI='openssl s_client -connect download.libreswan.org:443 -servername download.libreswan.org -CApath /etc/ssl/certs -verify_hostname download.libreswan.org 2>/dev/null </dev/null | grep "Verify"' | |
$> for i in $(seq 10); do libreswanTLSTest; done | |
Verify return code: 0 (ok) | |
Verify return code: 62 (Hostname mismatch) | |
Verify return code: 0 (ok) | |
Verify return code: 62 (Hostname mismatch) | |
Verify return code: 0 (ok) | |
Verify return code: 62 (Hostname mismatch) | |
Verify return code: 0 (ok) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/rand" | |
"crypto/rsa" | |
"fmt" | |
"os" | |
"gopkg.in/square/go-jose.v2" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/rand" | |
"crypto/rsa" | |
"fmt" | |
"os" | |
"gopkg.in/square/go-jose.v2" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
"strings" | |
"golang.org/x/net/idna" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// sctTestCerts is a small program written to generate test subscriber | |
// certificates for the zlint `sct_policy_count_unsatisified.go` unit tests. It | |
// depends on `github.com/google/certificate-transparency-go` for providing | |
// needed SCT types. | |
// | |
// Usage: | |
// 1) go get github.com/google/certificate-transparency-go | |
// 2) go run sctTestCerts.go -differentLogs=[true/false] -lifetime [int] -scts [int] | |
// | |
// -differentLogs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/public_suffix_list.dat b/public_suffix_list.dat | |
index b446a29..eb45e62 100644 | |
--- a/public_suffix_list.dat | |
+++ b/public_suffix_list.dat | |
@@ -7058,7 +7058,7 @@ org.zw | |
// newGTLDs | |
-// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2019-06-14T10:00:50-04:00 | |
+// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2019-08-02T09:28:48-04:00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* LPC Heap w/ Structs | |
* Paradox@DUNE | |
* | |
* A general heap data-structure[0] implemented in LPC using a struct type. | |
* Closely modelled on the Go programming language's heap implementation[1]. | |
* | |
* Example Integer Min-heap Usage: | |
* inherit __PATH__(0)"heap"; | |
* struct Heap min_heap = new_heap(({ 10, 5 }), (: $1 < $2 :)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Certbot LDMud Deploy Hook | |
# Paradox@Dune - 2021-03-07 | |
# | |
# Adapted from: | |
# https://github.com/greenhost/certbot-haproxy/blob/develop/certbot-deploy-hook-example | |
# | |
# After installing Certbot, install the deploy hook (as root): | |
# curl -o /etc/letsencrypt/renewal-hooks/deploy/ldmud-hook \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The MIT License (MIT) | |
Copyright (c) 2022 Daniel McCarney | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
OlderNewer