Dev/News

From Whonix
< Dev
Jump to navigation Jump to search

Whonix ™ News File Format[edit]

Version 0.2 used by Whonix ™ 0.5.6

First line contains version and may not contain any spaces!

0.3.0

news text here
some more news text
...

How to create a valid Whonix ™ News File[edit]

Manually[edit]

(1). safe as whonix_news

.

(2). sign

gpg --clearsign whonix_news

(3). test

gpg --verify whonix_news.asc

Using Maintainer Script[edit]

https://github.com/derivative-maker/derivative-maker/blob/master/release/upload_download_readme

Extra implementation info[edit]

Signing and verification (as sanity check) of whonix_news is automated by upload_whonix_news.

50_check-whonix-news will find out the current installing version by:

## Read only FIRST line.
read -r INSTALLED_WHONIX_VERSION < /usr/local/share/whonix/version
## Remove ALL spaces.
INSTALLED_WHONIX_VERSION="${INSTALLED_WHONIX_VERSION//[[:space:]]}"

While phrasing the whonix_news, it is not required to remove the OpenPGP Signature, because the function verify_whonix_news in 50_check-whonix-news will use gpg --decrypt to get plain text, which will result in the Whonix ™ News File Format.

Changelog[edit]

0.1 to 0.2

  • /usr/share/whonix/version changed to /usr/local/share/whonix/version