• GPG

    From Dennis Slagers@2:280/2060 to All on Tuesday, October 01, 2024 19:03:12

    Hello everybody!

    Has anyone GPG under Linux running to clearsign messages under GoldED?

    I am lost in the manual where I see references to DOS PGP but when trying under linux

    added in golded.cfg / local.cfg

    EXTERNUTIL 1 /usr/bin/gpg --armor --clearsign --force-sign --local-user "@oname" --output @file @tmpfile
    EDITSAVEMENU Yes
    EDITSAVEUTIL 1 "l PGP Clear-Sign the msg"

    but somewhere I do miss things I believe ..



    Dennis
    ... sorry I am rusty after 24 years hiatus ..


    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: ---- BOFH: Problem solved, user deleted. (2:280/2060)
  • From Vitaliy Aksyonov@1:104/117 to Dennis Slagers on Tuesday, October 01, 2024 11:26:40
    Hello Dennis.

    01 Oct 24 19:03, you wrote to All:

    Has anyone GPG under Linux running to clearsign messages under GoldED?

    I am lost in the manual where I see references to DOS PGP but when
    trying under linux

    added in golded.cfg / local.cfg

    EXTERNUTIL 1 /usr/bin/gpg --armor --clearsign --force-sign
    --local-user "@oname" --output @file @tmpfile EDITSAVEMENU
    Yes EDITSAVEUTIL 1 "l PGP Clear-Sign the msg"

    but somewhere I do miss things I believe ..

    I haven't tried but it shall work exactly the same as for DOS. What exactly doesn't work for you?

    Vitaliy

    ... 640K ought to be enough for anybody
    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: Aurora, Colorado (1:104/117)
  • From Dennis Slagers@2:280/2060 to Vitaliy Aksyonov on Tuesday, October 01, 2024 19:54:54

    Hello Vitaliy!

    01 Oct 24 11:26, you wrote to me:


    EXTERNUTIL 1 /usr/bin/gpg --armor --clearsign --force-sign
    --local-user "@oname" --output @file @tmpfile EDITSAVEMENU
    Yes EDITSAVEUTIL 1 "l PGP Clear-Sign the msg"

    but somewhere I do miss things I believe ..

    I haven't tried but it shall work exactly the same as for DOS. What exactly doesn't work for you?

    see that the save as clearsign is actually signing the message.
    So the action of ie. Save or F11 does not do anyting.

    as there is no error I cannot pinpoint the issue.


    Vitaliy

    ... 640K ought to be enough for anybody
    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: Aurora, Colorado (1:104/117)

    Dennis


    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: ---- BOFH: Problem solved, user deleted. (2:280/2060)
  • From Vitaliy Aksyonov@1:104/117 to Dennis Slagers on Tuesday, October 01, 2024 12:14:12
    Hello Dennis.

    01 Oct 24 19:54, you wrote to me:

    EXTERNUTIL 1 /usr/bin/gpg --armor --clearsign --force-sign
    --local-user "@oname" --output @file @tmpfile EDITSAVEMENU
    Yes EDITSAVEUTIL 1 "l PGP Clear-Sign the msg"

    but somewhere I do miss things I believe ..

    I haven't tried but it shall work exactly the same as for DOS.
    What exactly doesn't work for you?

    see that the save as clearsign is actually signing the message.
    So the action of ie. Save or F11 does not do anyting.

    as there is no error I cannot pinpoint the issue.

    Do you mean that saved message doesn't have signature?

    I'll check how this works in couple of days and will let you know.

    Vitaliy

    ... 640K ought to be enough for anybody
    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: Aurora, Colorado (1:104/117)
  • From Dennis Slagers@2:280/2060 to Vitaliy Aksyonov on Tuesday, October 01, 2024 20:41:28
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512


    Hello Vitaliy!

    01 Oct 24 12:14, you wrote to me:


    as there is no error I cannot pinpoint the issue.

    Do you mean that saved message doesn't have signature?
    I'll check how this works in couple of days and will let you know.

    Think I found the issue but it takes some steps

    Using this command

    EXTERNUTIL 1 -nokeepctrl -wipe sudo /usr/bin/gpg --log-file /home/fido/gpg.log - --armor --clearsign --force-sign --local-user "@oname" --output @file @tmpfile


    Than when saving message using the menu I have first to enter the pwd to sudo
    the command (initial after starting)

    Than golded.msg: it does exist so do you need to overwrite (y)

    than .. tadaa ..


    Dennis


    -----BEGIN PGP SIGNATURE-----

    iQHMBAEBCgA2FiEEb371k8jShFWCfbwvkDtRpGrfe6AFAmb8QuwYHGRlbm5pc0Bh cm91bmRteXJvb20uY29tAAoJEJA7UaRq33ugdZQL+gNUYvJvYYQ3CZsM5U9U/2Fw K8jrNjFploUgbs+8Oo8mF9WQxeiHw6R6hpY9zUL3WercbJm/Wd4X6aZgNS4y9BtC H6njx/AUtVvYp8TU36Y1jQAIgh66Y/jd5rDzFakE2nCFbmOs4GLqzkQK21alS2YQ rHrkw5gf4acAvLqJf2cztR3OsY964lfO5HUCcwb1jjAN87BdRFHVUtVjj3Y23J9N gBf2PMx6rgEY4V0UNfzClJUa63fMuNwvENxU1JVvEIEKekCpGG5toSjkvoefNZx0 cfyLWWgMuEjmvZIU4Y2bgHqcOToH1sf3w9WdbYNyV9f6eQcfLpBs3TYPsXzJxI8v BEa9FPb0Vly+FVjc3QrtOvdMVOkZHYvQx4ENW3dudlqPTa4DxQkQ/0V1H+qYATQt 5bag+f+b9KAyrBx1Dl8LUGs/bHFaidBNJmcgVyPqcfQP2UzlW6OUvlILoSbUFmW7 i3DChu970SzfURBGOGkcQM4KeHnYyTJhyZnx++MvFg==
    =KTrx
    -----END PGP SIGNATURE-----
    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: ---- BOFH: Problem solved, user deleted. (2:280/2060)
  • From Vitaliy Aksyonov@1:104/117 to Dennis Slagers on Tuesday, October 01, 2024 13:27:46
    Hello Dennis.

    01 Oct 24 20:41, you wrote to me:

    as there is no error I cannot pinpoint the issue.

    Do you mean that saved message doesn't have signature?
    I'll check how this works in couple of days and will let you
    know.

    Think I found the issue but it takes some steps

    Using this command

    EXTERNUTIL 1 -nokeepctrl -wipe sudo /usr/bin/gpg --log-file /home/fido/gpg.log - --armor --clearsign --force-sign --local-user "@oname" --output @file @tmpfile


    Than when saving message using the menu I have first to enter the pwd
    to sudo the command (initial after starting)

    Than golded.msg: it does exist so do you need to overwrite (y)

    than .. tadaa ..


    Dennis


    -----BEGIN PGP SIGNATURE-----

    iQHMBAEBCgA2FiEEb371k8jShFWCfbwvkDtRpGrfe6AFAmb8QuwYHGRlbm5pc0Bh cm91bmRteXJvb20uY29tAAoJEJA7UaRq33ugdZQL+gNUYvJvYYQ3CZsM5U9U/2Fw K8jrNjFploUgbs+8Oo8mF9WQxeiHw6R6hpY9zUL3WercbJm/Wd4X6aZgNS4y9BtC H6njx/AUtVvYp8TU36Y1jQAIgh66Y/jd5rDzFakE2nCFbmOs4GLqzkQK21alS2YQ rHrkw5gf4acAvLqJf2cztR3OsY964lfO5HUCcwb1jjAN87BdRFHVUtVjj3Y23J9N gBf2PMx6rgEY4V0UNfzClJUa63fMuNwvENxU1JVvEIEKekCpGG5toSjkvoefNZx0 cfyLWWgMuEjmvZIU4Y2bgHqcOToH1sf3w9WdbYNyV9f6eQcfLpBs3TYPsXzJxI8v BEa9FPb0Vly+FVjc3QrtOvdMVOkZHYvQx4ENW3dudlqPTa4DxQkQ/0V1H+qYATQt 5bag+f+b9KAyrBx1Dl8LUGs/bHFaidBNJmcgVyPqcfQP2UzlW6OUvlILoSbUFmW7 i3DChu970SzfURBGOGkcQM4KeHnYyTJhyZnx++MvFg==
    =KTrx
    -----END PGP SIGNATURE-----
    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: ---- BOFH: Problem solved, user deleted. (2:280/2060)

    Very nice! I'm glad that it worked for you!


    Vitaliy

    ... 640K ought to be enough for anybody
    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: Aurora, Colorado (1:104/117)
  • From Dennis Slagers@2:280/2060 to Vitaliy Aksyonov on Tuesday, October 01, 2024 21:47:04

    Hello Vitaliy!

    01 Oct 24 13:27, you wrote to me:

    * Origin: ---- BOFH: Problem solved, user deleted. (2:280/2060)

    Very nice! I'm glad that it worked for you!

    Yeah and after that message i f*cked up and had to recreate my keys <lol>

    just busy with some 'roadmap' items to see if I am still capable of doing things ;)
    Always a question if I am going to use it yes/no ;)

    Dennis


    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: ---- BOFH: Problem solved, user deleted. (2:280/2060)
  • From Kai Richter@2:240/77 to Dennis Slagers on Wednesday, October 02, 2024 17:26:54
    Hello Dennis!

    01 Oct 24, Dennis Slagers wrote to Vitaliy Aksyonov:

    Think I found the issue but it takes some steps

    Using this command

    EXTERNUTIL 1 -nokeepctrl -wipe sudo /usr/bin/gpg --log-file

    Than when saving message using the menu I have first to enter the pwd
    to sudo the command (initial after starting)

    There should be no reason to run gpg with su rights.
    Check what kind of sign gpg adds now. Is it yours? Or signed by root?

    In those cases i replace the command with "echo" to see the real parameters. It's also possible to create a debug shell script that catches the parameters and give additional information about "pwd" and "whoami".

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)