I have defined several functions in the Tools menu:
│ 1 ^GnuPGP Wilfre gpg -sea -r wilfred $FILE Puffer √ │
│ 2 GnupPGP ASK gpg -sea -r $ASK $FILE Puffer √ │
│ 3 gnupg decrypt gpg -d $FILE w/o header √ │
│ 4 GPG Verify msg gpg --verify $FILE Puffer √ │
1 and 2 do not seem to work.
But 3 and 4 do.
What am I doing wrong?
Do 1 and 2 need the gpg -o parameter? And if so, what should
those lines look like?
Hallo August!
I have defined several functions in the Tools menu:
│ 1 ^GnuPGP Wilfre gpg -sea -r wilfred $FILE Puffer √ │
│ 2 GnupPGP ASK gpg -sea -r $ASK $FILE Puffer √ │
│ 3 gnupg decrypt gpg -d $FILE w/o header √ │
│ 4 GPG Verify msg gpg --verify $FILE Puffer √ │
1 and 2 do not seem to work.
But 3 and 4 do.
What am I doing wrong?
Do 1 and 2 need the gpg -o parameter? And if so, what should
those lines look like?
I simply don't know. I haven't used PGP for years and it's currently way
out of my focus, sorry...
PGP in XP is not working since pgp 2.6.x is out of use.
GPG should work, but no one tested this.
gpg --versiongpg (GnuPG) 2.2.19
PGP in XP is not working since pgp 2.6.x is out of use.
So.. the code makes calls using "pgp" hardcoded?
Why not simply replace "pgp" with "gpg" in the source?
So.. the code makes calls using "pgp" hardcoded?
Why not simply replace "pgp" with "gpg" in the source?
If it's hardcoded you could make a copy of gpg.exe to pgp.exe...?
Tools MenuĿ
Menu Program $FILE S W L A Mem 1 ^GnuPGP Wilfre gpg -sea -r wilfred $FILE Puffer 2 GnupPGP ASK gpg -sea -r $ASK $FILE Puffer 3 gnupg decrypt gpg -d $FILE w/o header 4 GPG Verify msg gpg --verify $FILE Puffer 5
I have no idea what IDEA support is, or whether it applies in
my case.
Hello martin # martinwodrich.de!
PGP in XP is not working since pgp 2.6.x is out of use.
So.. the code makes calls using "pgp" hardcoded?
Why not simply replace "pgp" with "gpg" in the source?
Hi August,
On 2026-01-05 19:20:00, you wrote to me:
I have no idea what IDEA support is, or whether it applies in
my case.
It's an old encryption method (maybe the default in PGP), that is
deprecated in GPG, and not available without using a special backwards compatible option for GPG...
You should only use it when you need to communicate with someone that has only an old PGP version available.
[...]
What am I doing wrong?
Can you tell us what your goal is?
Do you want to reply to encrypted emails and also create
encrypted emails yourself using GPG?
OXP can encrypt and decrypt emails automatically with the
correct settings. So you don't need any additional tools
like the ones you presented here.
OXP can encrypt and decrypt emails automatically with the
correct settings. So you don't need any additional tools
like the ones you presented here.
That sounds wonderful. What needs to be done?
To avoid any misunderstandings: OXP only supports "gpg/inline"!
OXP does not support "gpg/mime", which is used and generated by modern email clients!
Your settings are almost identical to mine.
Also check your settings for the relevant email addresses:
[TAB] => Spezial => PW <https://barghahn-online.de/Pictures/oxp_tab_pw.png>
From: Thomas Barghahn <Th.Barghahn@t-online.de>
*August Abolins* meinte:
Sorry, August. Before we discuss further details:
Which operating system are you using?
Which version of gpg/Gpg4Win are you using?
Which version of OXP are you using?
Hello Th.Barghahn # gmx.de!Ok.
** On Thursday 08.01.26 - 15:49, Th.Barghahn # gmx.de wrote to All:
Which operating system are you using?
Which version of gpg/Gpg4Win are you using?
Which version of OXP are you using?
[1] XP
[2] H:\temp>gpg --version
gpg (GnuPG) 2.2.19
libgcrypt 1.8.5
OpenXP 5.0.64 (Win32)Ok.
[...]
So, it sounds like the PW is optional, and I willbe prompted
for it if that field is blank?
I am not sure what that password that needs to be. Is it
supposed to be my private key password?
First, please install GPG4Win with Kleopatra and import all your
keys. Then try sending an email with OpenXP.
Hello Th.Barghahn # gmx.de!
First, please install GPG4Win with Kleopatra and import all your
keys. Then try sending an email with OpenXP.
Email works.
Email works.
Really? You installed Gpg4Win with "Kleopatra", imported all relevant addresses, and now encryption works?
** On Friday 09.01.26 - 14:47, Th.Barghahn # gmx.de wrote to All:
Email works.
Really? You installed Gpg4Win with "Kleopatra", imported all
relevant addresses, and now encryption works?
Email to and from oxp works, yes.
I opted out of kleopatra. The current version is not supported
in XP.
I prefer to manage my keys and manually.
I opted out of kleopatra. The current version is not supported
in XP.
Really? ;-)
<https://barghahn-online.de/Pictures/win10_kleopatra.png>
Email to and from oxp works, yes.
Perfect! :-) As I said, this only works with "gpg/inline". Macros or scripts are still required for "gpg/mime".
I prefer to manage my keys and manually.
Ok.
An outging inline blosck is fine.
OXP handles PGP/Decrypt and Signing on messages fine.
So.. what else is required now?
An outging inline blosck is fine.
OXP handles PGP/Decrypt and Signing on messages fine.
So.. what else is required now?
If encryption and signing using 'gpg/inline' now work for you in OpenXP without any additional tools, then theres nothing more you need to do
on the OXP side.
Just to make this absolutely clear: if you want to use gpg/mime, you
will need additional scripts or macros. OpenXP does not support gpg/mime natively only gpg/inline works out of the box.
One more important note: since you are still using Windows XP, the
current version of Kleopatra will no longer run on that system. If a modern Kleopatra version were available, you wouldnt need any
additional scripts or macros, because Kleopatra can fully decode
PGP/MIME messages on its own.
Your settings are almost identical to mine.
Also check your settings for the relevant email addresses:
[TAB] => Spezial => PW
<https://barghahn-online.de/Pictures/oxp_tab_pw.png>
If encryption and signing using 'gpg/inline' now work for you in
OpenXP
without any additional tools, then there▒s nothing more you need
to do on the OXP side.
No.. I said, signing [as I showed you in my last reply] and
decrypt works from OXP's menu options.
But it does not encrypt a message that I want.
What are the steps after writing a message to get it to
encrypt?
Then, just before I save it, I see this:
┌─ Private message ────────────────────────────────────────
Then, after I save it, the Sending queue looks like this:
■ +!c 71 09.01.26 arnold@kolico.ca sveiks TEST, FRI 6:50p
So.. I would assume that the "c" at the far left means that the
message is supposed to be encrypted?
So.. I would assume that the "c" at the far left means that
the message is supposed to be encrypted?
YES! Exactly! :-)
So.. the important thing is to select "[x] Crypt" for the
specific email recipient, and that "PGP" is selected too.
And, as you nicely illustrated in your Step_N images, signing
of that message works as expected too. However, I wonder
where the signed block is stored? Which TEMP is it?
In the case of PGP/inline, the signature is not stored in
a separate TEMP file. The entire signed content is the
block between:
-----BEGIN PGP MESSAGE-----
[...]
-----END PGP MESSAGE-----
That block already contains the signed data and the
OpenPGP signature packet. So there is no additional file
everything is embedded directly in the message body.
Thank you for the nice discussion and have fun with
encryption and signing in OpenXP! :-)
OPX can show me the PGP BLOCK of the encrypted.asc file, which
it saves to a temporary external file in the FILES dir, then I
can drop to the cmdline and execute "gpg -d [FILE]" ..and I
can view the message onscreen.
Do you have ready-made macros or a Tools script-line that you
can tell me about that will handle mime-type?
STEP 4.2:
+++ w/o "Kleopatra" - START +++
|
| || !! Create Tools-Menu !!
| || Menu display: decr. gpg/mime
| || <https://barghahn-online.de/Pictures/oxp/Step_4_2_decrypt.png>
| ||
| || Windows11:
| || ----------
| || Program name: gpg -d -o d:\my_programs\open_xp\files\input.txt d:\my_programs\open_xp\files\out.txt |
| Step 4.2.1:
| Tools => decr. gpg/mime
| <https://barghahn-online.de/Pictures/oxp/Step_4_2_1_decrypt.png>
|
| Step 4.2.2:
| Enter passphrase
| <https://barghahn-online.de/Pictures/oxp/Step_4_2_2_decrypt.png>
|
+++ w/o "Kleopatra" - END +++
Step 5:
open the file "input.txt" in your preferred editor and copy the
"base64 part" to the clipboard. <https://barghahn-online.de/Pictures/oxp/Step_5_decrypt.png>
Step 6:
open your "base64 decoder"[1] and paste from the clipboard. <https://barghahn-online.de/Pictures/oxp/Step_6_decrypt.png>
Step 7:
decode the base64 part <https://barghahn-online.de/Pictures/oxp/Step_7_decrypt.png>
STEP 4.2:
+++ w/o "Kleopatra" - START +++
|
| || !! Create Tools-Menu !!
| || Menu display: decr. gpg/mime
| || Windows11:
| || ----------
| || Program name: gpg -d -o d:\my_programs\open_xp\files\input.txt d:\my_programs\open_xp\files\out.txt |
| Step 4.2.1:
| Tools => decr. gpg/mime
| <https://barghahn-online.de/Pictures/oxp/Step_4_2_1_decrypt.png>
|
| Step 4.2.2:
| Enter passphrase
| <https://barghahn-online.de/Pictures/oxp/Step_4_2_2_decrypt.png>
|
+++ w/o "Kleopatra" - END +++
Step 5:
open the file "input.txt" in your preferred editor and copy the
"base64 part" to the clipboard. <https://barghahn-online.de/Pictures/oxp/Step_5_decrypt.png>
Step 6:
open your "base64 decoder"[1] and paste from the clipboard. <https://barghahn-online.de/Pictures/oxp/Step_6_decrypt.png>
Step 7:
decode the base64 part <https://barghahn-online.de/Pictures/oxp/Step_7_decrypt.png>
Ready! :-)
[1] Copyright by Thomas Barghahn ;-)
Thomas
--
== S E N D E Z E I T =======================
+ DATUM : Samstag, 10. Januar 2026
+ UHRZEIT: 23:04:44 UHR (MEZ)
== Heute: Bundesweiter Tag der Blockflte ==
-+-
+ Origin: rbb sglnx - the fidonet nntp junction (2:221/10)
Hello Th.Barghahn # gmx.de!
STEP 4.2:
+++ w/o "Kleopatra" - START +++
|
| || !! Create Tools-Menu !!
| || Menu display: decr. gpg/mime
| || Windows11:
| || ----------
| || Program name: gpg -d -o d:\my_programs\open_xp\files\input.txt
d:\my_programs\open_xp\files\out.txt |
Ok.. So mine should be this?
Tools Menu 5 Ŀ
Menu display decrypt gpg/mime
Program name gpg -d -o de-mime.txt $FILE
$FILE-Msg. w/o header [ ] Subject-name
[ ] Wait
[x] Fullscreen Memory: 600 KBytes
[ ] Output to lister
[ ] Look for files in AUTOEXEC directory
So... I open the message particulars:
Message-Part Lines Filename Ŀ
Vorspann 2
Text 2
File (pgp-encrypted) 2
File 52 encrypted.asc
Whole Message 79
EXIT
..Then, I select the enrypted.asc, and open that up to view,
and then copy that clipboard?
Step 5:
open the file "input.txt" in your preferred editor and copy the
"base64 part" to the clipboard.
<https://barghahn-online.de/Pictures/oxp/Step_5_decrypt.png>
gpg -d -o de-mime.txt mime
So... I open the message particulars:
Message-Part Lines Filename Ŀ
Vorspann 2
Text 2
File (pgp-encrypted) 2
File 52 encrypted.asc
Whole Message 79
EXIT
..Then, I select the enrypted.asc, and open that up to view,
and then copy that clipboard?
The problem with copying to clipboard is that OXP saves the
content to randomly numbered files in the TEMP diretory like
this:
3392.$$$
8745.$$$
..etc.
So.. I can't really program the line like this..
gpg -d -o de-mime.txt 3392.$$$
..because I'll never know what the .$$$ file will be named.
HOWEVER, I can save the encrypted.asc block to a specific file,
say.. "mime.txt"
..and then I can use this:
gpg -d -o de-mime.txt FILES\mime.txt
..and that produces a decrypted file called "de-mime.txt" in
the home directory.
| Sysop: | Angel Ripoll |
|---|---|
| Location: | Madrid, Spain |
| Users: | 13 |
| Nodes: | 8 (0 / 8) |
| Uptime: | 293:42:01 |
| Calls: | 1,105 |
| Calls today: | 1 |
| Files: | 1,388 |
| D/L today: |
1 files (3K bytes) |
| Messages: | 71,531 |