-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c0a8ca
commit 8da97cf
Showing
217 changed files
with
14,985 additions
and
40,690 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
[tool.commitizen] | ||
bump_message = "release $current_version → $new_version []" | ||
annotated_tag = true | ||
update_changelog_on_bump = true | ||
changelog_incremental = true | ||
changelog_start_rev = "v0.4.7" | ||
gpg_sign = true | ||
allow_abort = true | ||
version_files = [ | ||
"_layouts/default.html:Version" | ||
] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ repos: | |
stages: | ||
- push | ||
repo: https://github.com/commitizen-tools/commitizen | ||
rev: v3.27.0 | ||
rev: v3.28.0 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
PGP/GPG key ID `7DFFD7471FB76E2A8ABBBCDDD769B3749E933B8A` is no longer active | ||
PGP/GPG key ID `42FF35DB9DE7C088AB0FD4A70C216A52F6DF4920` is no longer active | ||
|
||
This project now uses separate master, release signing, and email keys. | ||
|
||
Current master key fingerprint: `9EA98278639F1CD853E096CBFF94507587A6A9B9` | ||
Current release key fingerprint: `83A6CF9EF57AC25B5C7F5D29285E6048A12321B2` | ||
Current email key fingerprint: `B6D1757632A280F99F2DCBFDB9AB9D93AFF05B9C` | ||
|
||
The email and release keys should be signed by the master key. | ||
The master key takes precedence over all other project keys. | ||
------------------------------------------------------------------------------------ | ||
Minisign key | ||
``` | ||
untrusted comment: minisign public key 902835EC74825934 | ||
RWQ0WYJ07DUokK8V/6LNJ9bf/O/QM9k4FSlDmzgEeXm7lEpw3ecYjXDM | ||
``` | ||
is no longer active | ||
|
||
Use | ||
``` | ||
untrusted comment: minisign public key FE6A09A3AF18F7A7 | ||
RWSn9xivowlq/ihAzclDBxhCxbYz4bLkC8E645lHgSUlQNlDvoTxO5Fv | ||
``` | ||
instead | ||
|
||
Files signed using this key pair can be verified with the following command: | ||
|
||
``` | ||
minisign -Vm <file> -P RWSn9xivowlq/ihAzclDBxhCxbYz4bLkC8E645lHgSUlQNlDvoTxO5Fv | ||
``` | ||
PGP/GPG key ID `7DFFD7471FB76E2A8ABBBCDDD769B3749E933B8A` is no longer active | ||
PGP/GPG key ID `42FF35DB9DE7C088AB0FD4A70C216A52F6DF4920` is no longer active | ||
PGP/GPG key ID `9EA98278639F1CD853E096CBFF94507587A6A9B9` is no longer active | ||
|
||
This project now uses separate master, release signing, and email keys. | ||
|
||
Current master key fingerprint: `9FA5436D0EE360985157382517ECA05F768DEDF6` | ||
Current release key fingerprint: `C3023DBEA3FB38C438BA1EEDCEC60AEDE8B992A2` | ||
Current email key fingerprint: `FCBD2CABDEFD1FBA2E9E7591A1A82CD2DD2CF890` | ||
|
||
The email and release keys should be signed by the master key. | ||
The master key takes precedence over all other project keys. | ||
------------------------------------------------------------------------------------ | ||
Minisign key | ||
``` | ||
untrusted comment: minisign public key 902835EC74825934 | ||
RWQ0WYJ07DUokK8V/6LNJ9bf/O/QM9k4FSlDmzgEeXm7lEpw3ecYjXDM | ||
``` | ||
is no longer active | ||
|
||
Use | ||
``` | ||
untrusted comment: minisign public key FE6A09A3AF18F7A7 | ||
RWSn9xivowlq/ihAzclDBxhCxbYz4bLkC8E645lHgSUlQNlDvoTxO5Fv | ||
``` | ||
instead | ||
|
||
Files signed using this key pair can be verified with the following command: | ||
|
||
``` | ||
minisign -Vm <file> -P RWSn9xivowlq/ihAzclDBxhCxbYz4bLkC8E645lHgSUlQNlDvoTxO5Fv | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,89 @@ | ||
guide: clean | ||
./make.sh | ||
#! /bin/bash -m | ||
|
||
# Author.: Anonymous Planet | ||
# License.: CC BY-NC 4.0 | ||
|
||
# Setup shell | ||
# https://github.com/QubesOS/qubes-issues/issues/8343 | ||
# if the default shell ($SHELL) is zsh, else use bash | ||
|
||
ifneq ($(shell echo $$SHELL | grep -q 'zsh' && echo zsh), zsh) | ||
SHELL := /bin/bash # using standard shell | ||
else | ||
SHELL := /bin/zsh # else use zsh (Whonix) | ||
endif | ||
|
||
ifneq ($(shell which safe-rm), /usr/bin/safe-rm) | ||
RM := /usr/bin/rm # using standard rm | ||
else | ||
RM := /usr/share/safe-rm/bin/rm # else use safe rm | ||
endif | ||
|
||
# Paths | ||
|
||
BUILD_DIR := ./export | ||
PANDOC=/usr/bin/pandoc | ||
PANDOC_OPTIONS=--smart --standalone | ||
|
||
SOURCE_DOCS := $(wildcard *.md) | ||
|
||
EXPORTED_DOCS=\ | ||
$(SOURCE_DOCS:.md=.html) \ | ||
$(SOURCE_DOCS:.md=.pdf) \ | ||
$(SOURCE_DOCS:.md=.docx) \ | ||
$(SOURCE_DOCS:.md=.rtf) \ | ||
$(SOURCE_DOCS:.md=.odt) \ | ||
$(SOURCE_DOCS:.md=.epub) | ||
|
||
PANDOC=/usr/bin/pandoc | ||
|
||
PANDOC_OPTIONS=--standalone --metadata title="The Hitchhiker's Guide to Online Anonymity" -t context | ||
|
||
PANDOC_HTML_OPTIONS=--to html5 | ||
PANDOC_PDF_OPTIONS= | ||
PANDOC_DOCX_OPTIONS= | ||
PANDOC_RTF_OPTIONS= | ||
PANDOC_ODT_OPTIONS= | ||
PANDOC_EPUB_OPTIONS=--to epub3 | ||
|
||
# TODO: Makefile flags | ||
|
||
.PHONY: clean sigs docs | ||
|
||
# target: cleanup | ||
|
||
clean: | ||
./clean.sh | ||
-$(RM) -drf $(BUILD_DIR)/* | ||
-$(RM) -rf *sum* | ||
-$(RM) -rf *.md.asc | ||
-$(RM) -rf *.txt.asc | ||
-$(RM) -rf *.md.minisig | ||
-$(RM) -rf *.txt.minisig | ||
-$(RM) -f $(EXPORTED_DOCS) | ||
|
||
# target: signatures | ||
|
||
sigs: | ||
mkdir -p export | ||
./make.sh | ||
|
||
# target: documentation | ||
|
||
docs: | ||
%.html : %.md | ||
$(PANDOC) $(PANDOC_OPTIONS) $(PANDOC_HTML_OPTIONS) -o $@ $< | ||
|
||
%.pdf : %.md | ||
$(PANDOC) $(PANDOC_OPTIONS) $(PANDOC_PDF_OPTIONS) -o $@ $< | ||
|
||
%.docx : %.md | ||
$(PANDOC) $(PANDOC_OPTIONS) $(PANDOC_DOCX_OPTIONS) -o $@ $< | ||
|
||
%.rtf : %.md | ||
$(PANDOC) $(PANDOC_OPTIONS) $(PANDOC_RTF_OPTIONS) -o $@ $< | ||
|
||
%.odt : %.md | ||
$(PANDOC) $(PANDOC_OPTIONS) $(PANDOC_ODT_OPTIONS) -o $@ $< | ||
|
||
%.epub : %.md | ||
$(PANDOC) $(PANDOC_OPTIONS) $(PANDOC_EPUB_OPTIONS) -o $@ $< |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.