Article View: alt.privacy.anon-server
Article #320346Signature Verification - Feature Request For the PyBitmessage Developers
From: Gneiss
Date: Thu, 08 Dec 2022 17:19
Date: Thu, 08 Dec 2022 17:19
73 lines
5006 bytes
5006 bytes
Signature Verification - Feature Request For the PyBitmessage Developers This sirs and madames I present humbly to you for a feature to include in the PyBitmessage graphical interface and API. The user is able to cryptographically encrypt and/or sign any arbitrary Bitmessage from the interface, as well as export and sign any Bitmessage object in the data store, and also to sign any arbitrary file, whether sent as a Bitmessage object or just signed on the local filesystem through the interface or API but not sent as a message. The signature and/or encrypted payload or file can then be exported to arbitrary file path or sent to a selected recipient. The user is able to open a signature and signing dialog that allows to select the address key that will do the signing and encryption, and use a optional passphrase for the chacha20 cipher that is included in all distributions of the OpenSSL library that is a Bitmessage dependency. These then are the finer parts of the features to the suggestion: 1. The user may encrypt existing message or arbitrary file with public key to a bitmessage recipient without sending it, to be able to export it to a file. 2. The user may encryp texisting message or arbitrary file with symmetric passphrase key to a without sending it, to be able to export it to a file. 3. The user may combine steps 1 and 2 above, allowing to encrypt with a secret key phrase and then envelope encrypt with public key cryptography. 4. The user may export the encrypted object to the file system. 5. The user may import prior encrypted objects from the interface or the file system and decrypt them with appropriate dialog fields to enter the passphrase, or to supply passphrase to the API. 6. The user may import and encrypt a arbitrary file that will then be fragmented into encrypted bitmessage objects and sent to a recipient. 7. The recipient of the file sent in #6 above shall be able to re-assemble the file from the several message objects and decrypt it. 8. All of the features shall be available to the user both through the graphical interface and the API and via command line shell executed against bitmessagemain.py and against the appimage release executable. 9. The user may be able to disable proof-of-work on the exported objects if they are to be sent out-of-band and not via the Bitmessage network. 10. The user may be able by default to perform proof-of-work on the exported objects so that they may be exported to file and imported on another instance of PyBitmessage. (sneakernet) This arrangement of the features permits the user to sign and encrypt messages and files as bitmessage objects or fragmented clusters of bitmessage objects. It permits the operation of a very secure sneakernet usage of the Bitmessage so that the network-connected instance does not require any encryption keys to be exposed or risked in a keys.dat file. This allows for the user to maintain a secure air-gapped machine for all of the encryption and signatures. Steps 6 and 7 would permit to send files larger than the maximum size for a bitmessage object. The interface and software would detect this and re-assemble the file, and allow the user to export it to the file system. The new feature shall not use AES encryption as default. It shall use chacha20 as the default symmetric cipher. If desired, the interface shall allow the user to select superencipherment, so that the object is encrypted three times with three unique symmetric keys derived from the main key. OpenSSL prepends the salt of symmetric encipherments in the clear. The usage of the chacha20 algorithm shall be modified to remove the salt from the head of the encrypted output, and encrypt the salt with a secondary derivation key, then add that back to the head of the encrypted output. This prevents any attacker from knowing the salt which is to make the crypanalysis much harder. This is my reflections in the needs of air-gapped usage for the maximum security.
Technical Details
Message-ID:
<tmt6a9$1rpu$3@gioia.aioe.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <tmt6a9$1rpu$3@gioia.aioe.org> Subject: Signature Verification - Feature Request For the PyBitmessage Developers Date: Thu, 8 Dec 2022 11:19:35 -0600 From: Gneiss <gneiss@anonymous.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: sci.crypt,alt.privacy,alt.privacy.anon-server Followup-To: sci.crypt Organization: Aioe.org NNTP Server Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="61246"; posting-host="C9tvVYvMcx+5HN31CmwTXA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Lines: 72