🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91028

Update to signcontrol.py (v. 1.5.0)

#91028
From: Julien ÉLIE
Date: Sun, 29 Oct 2023 11:19
67 lines
3624 bytes
Hi all,

I have just released a new version of signcontrol.py (v. 1.5.0, 2023/10/29).

The main point of this release is to support Python 3.

This Python script is aimed at helping Usenet hierarchy administrators 
in maintaining the canonical lists of newsgroups in the hierarchies they 
administer.  It enforces best practices regarding the syntax of Usenet 
control articles.
It is also useful to manage PGP keys: generation, import, export, 
removal, and revokal.


You can download the release via Github.  Technically, there are only 
two files to download (signcontrol.py and signcontrol.conf).
The release tag is here:
     https://github.com/Julien-Elie/usenet-signcontrol/releases/tag/1.5.0

The contents and documentation of the latest version of signcontrol.py 
can be browsed here:
     https://github.com/Julien-Elie/usenet-signcontrol



The changes since the previous version are:

- Add compatibility with both Python 2 and Python 3.

- Default encoding for generated control articles is now UTF-8 in the 
configuration file (this charset SHOULD be used for non-ASCII 
characters, per Section 4.2 of RFC 5537).  If you are upgrading from a 
previous version of signcontrol.py, and your checkgroups file contains 
descriptions with non-ASCII characters, you are encouraged to also 
switch to "UTF-8" as the value of the ENCODING parameter, use UTF-8 
input in your terminal, and convert your checkgroups file to this charset.

- Use --full-generate-key instead of --gen-key when generating a new 
pair of keys as GnuPG versions greater than 2.1.17 otherwise 
unconditionally set an expiration date.

- Recommend at least a 3072-bit RSA key (and not a 2048-bit one).

- Fix the feature of key revocation.

- Colourize errors and recommendations in the terminal output to better 
view them.

- Add the URL to the ftp.isc.org's README.html file in the X-Info header 
field only if not already present (it was previously unconditionally added).

- Switch ftp.isc.org's URLs from ftp to https in the X-Info header field.

- Improve documentation, with more details and return of experience 
accumulated since the last release.




Feel free to use this new version, and please let me know of any 
problems you may encounter.

-- 
Julien ÉLIE

« Dans toute statistique, l'inexactitude du nombre est compensée par la
   précision des décimales. » (Alfred Sauvy)
Technical Details
Message-ID: <uhlf44$16t0j$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <uhlf44$16t0j$1@news.trigofacile.com>
Subject: Update to signcontrol.py (v. 1.5.0)
Date: Sun, 29 Oct 2023 12:19:32 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.admin.hierarchies,news.software.nntp
Followup-To: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Oct 2023 11:19:32 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="1274899"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:86x2hUAsnaCC0C9bmVdfiBlQOIo= sha256:6lX/JMQxjvMN0XEwdf6uZobf/TtvbU+HgXNqxjk9YxQ= sha1:kFOK06+fja1Ryk1uXJCw+hIplyo= sha256:R+KRf2sbD/YuSKRkUuEd1n5QIkbEWY5JqbVaxfjIjXA=