Author Topic: Seamonkey and PGP  (Read 5820 times)

Andi B.

  • Hero Member
  • *****
  • Posts: 811
  • Karma: +11/-2
    • View Profile
Seamonkey and PGP
« on: January 08, 2021, 01:26:56 pm »
Can we handle PGP signed emails with our Seamonkey? Are there any addons?

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: Seamonkey and PGP
« Reply #1 on: January 08, 2021, 05:02:58 pm »
Many versions back, forget how many, we did have a working version of Enigmail, unluckily Mozilla changed its rules about addons and I didn't/don't have the skills to port it.
The problem was that Enigmail used a binary (DLL) and then changed to calling system calls through CTYPES, which meant calling the OS/2 API (libc would have worked too) from JavaScript manually, ie setting up the stack etc to call OS/2 functions to read and write files and such.
No idea of its current status since Mozilla has changed to WebExtensions.

Andi B.

  • Hero Member
  • *****
  • Posts: 811
  • Karma: +11/-2
    • View Profile
Re: Seamonkey and PGP
« Reply #2 on: January 08, 2021, 07:01:10 pm »
In the meantime I installed Enigmail addon. Installation of proper version was no problem. But it needs gnupg. Unfortunately we don't have it currently. But I saw Silvan has created the repo at github. Unfortunately I can't compile it. When I run autoconf it crashes -
Code: [Select]
{1}[e:\_work\ports\gnupg-os2] sh
# autoconf

Killed by SIGSEGV
pid=0x24bf ppid=0x24a6 tid=0x0001 slot=0x00c5 pri=0x0200 mc=0x0001 ps=0x0010
P:\USR\BIN\PERL.EXE
UTILEM 0:00006ad8
cs:eip=005b:15736ad8      ss:esp=0053:0012f620      ebp=0012f668
 ds=0053      es=0053      fs=150b      gs=0000     efl=00010246
eax=1573671c ebx=00000004 ecx=00000000 edx=20040828 edi=00000000 esi=00000000
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
Segmentation fault
# exit
Seems I'm not experienced enough to compile it myself :-(

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: Seamonkey and PGP
« Reply #3 on: January 08, 2021, 07:48:49 pm »
Weird crash. Make sure the shell environment is set up properly, something like,
Code: [Select]
SET SHELL=sh.exe
SET EMXSHELL=sh.exe
SET CONFIG_SHELL=sh.exe
SET MAKESHELL=sh.exe
SET EXECSHELL=sh.exe
set LANG=en_US

IIRC, gnupgp needs more porting then simply recompiling, things like a source of entropy and then there is still the problem of Enigmail actually communicating with gnupgp.
It has been a while since I looked at it so things might have changed.

mike

  • Newbie
  • *
  • Posts: 32
  • Karma: +1/-0
    • View Profile
Re: Seamonkey and PGP
« Reply #4 on: January 11, 2021, 06:37:54 pm »
Because of dropping the old legacy plugin interface like firefox in favour of web extentions the thunderbird team ported the enigmail add on which is now part of thunderbird (V68+) itself, because the author didnt want to port it himself and without it no PGP support.