{{Header}} {{#seo: |description=Development Notes about {{project_name_long}} News and the {{project_name_long}} News File Format }} {{Archived}} = {{project_name_short}} News File Format = '''Version 0.2''' used by {{project_name_short}} 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 {{project_name_short}} News File = == Manually == (1). safe as whonix_news
.
(2). sign
gpg --clearsign whonix_news
(3). test
gpg --verify whonix_news.asc
== Using Maintainer Script == https://github.com/{{project_name_short}}/derivative-maker/blob/master/release/upload_download_readme = Extra implementation info = Signing and verification (as sanity check) of [https://github.com/{{project_name_short}}/derivative-maker/blob/master/release/whonix_news whonix_news] is automated by [https://github.com/{{project_name_short}}/derivative-maker/blob/master/release/upload_whonix_news upload_whonix_news]. [https://github.com/{{project_name_short}}/derivative-maker/blob/master/whonix_shared/usr/lib/whonix/systemcheck/50_check-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 [https://github.com/{{project_name_short}}/derivative-maker/blob/master/whonix_shared/usr/lib/whonix/systemcheck/50_check-whonix-news 50_check-whonix-news] will use ''gpg --decrypt'' to get plain text, which will result in the {{project_name_short}} News File Format. {{Footer}} [[Category:Design]]