• gpg "live" editor

    From August Abolins@2:221/360 to All on Tue Jan 7 18:55:42 2020
    Do you guys know how to use the gpg live editor?

    I get:

    -[begin screen output]-
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    gpg
    gpg: WARNING: no command supplied. Trying to guess what you mean ...
    gpg: Go ahead and type your message ...

    This is a private message...

    ^C
    gpg: no valid OpenPGP data found.
    gpg: processing message failed: Unknown system error

    gpg
    gpg: WARNING: no command supplied. Trying to guess what you mean ...
    gpg: Go ahead and type your message ...

    test

    ^C
    gpg: no valid OpenPGP data found.
    gpg: processing message failed: Unknown system error

    -[end screen output]-

    I have looked around for any info on how to use the internal editor, but
    cannot find anything that works.

    I found something that includes "Ctrl+Shift+D" to save the message, but
    it and other commands don't work.

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Wilfred van Velzen@2:280/464 to August Abolins on Tue Jan 7 18:59:29 2020
    Hi August,

    On 2020-01-07 18:55:42, you wrote to All:

    Do you guys know how to use the gpg live editor?

    Just guessing here...

    I get:

    -[begin screen output]-
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    So a cmd.exe is started here, with 'gpg' as command.

    gpg

    Did you have the option to type arguments here, or was the <enter> automatic?

    gpg: WARNING: no command supplied. Trying to guess what you mean ...
    gpg: Go ahead and type your message ...

    This is a private message...

    ^C

    To do something valid here you will have to enter or paste something that gpg can understand. So either a ascii encoded key or pgp message. Something that starts with the usual "-----BEGIN PGP MESSAGE-----" etc... (You can paste by right clicking in the window or the window top bar, and selecting paste).

    gpg: no valid OpenPGP data found.
    gpg: processing message failed: Unknown system error

    You pressed ctrl-c, I think, before entering anything that would be meaningfull
    content for 'gpg'...


    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From August Abolins@2:221/360 to Wilfred van Velzen on Tue Jan 7 22:50:29 2020
    On 07/01/2020 12:59 p.m., Wilfred van Velzen : August Abolins wrote:

    So a cmd.exe is started here, with 'gpg' as command.

    C: \>> gpg

    Did you have the option to type arguments here, or was the
    <enter> automatic?

    I just type gpg + ENTER. Apparently that is an option. ;)


    gpg: WARNING: no command supplied. Trying to guess what you
    mean... gpg: Go ahead and type your message...

    ...and then it sits there waiting for the message to be typed.

    This is a private message...
    ^C

    I start to type my message, but there is no obvious way to save it.


    To do something valid here you will have to enter or paste
    something that gpg can understand. So either a ascii encoded
    key or pgp message. Something
    that starts with the usual "-----BEGIN PGP MESSAGE-----" etc...
    (You can paste by right clicking in the window or the window
    top bar, and selecting paste).

    Nope. The gpg editor does not dump the contents that I have in clipboard.


    You pressed ctrl-c, I think, before entering anything that
    would be meaningfull content for 'gpg'...

    Yes, ^C ultimately killed the session. But none of the --commands on a
    line by line basis did anything either.

    The gpg editor is a mystery to me.

    Doesn't your linux version have the live editor feature too?

    ../|ug

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Wilfred van Velzen@2:280/464 to August Abolins on Tue Jan 7 22:04:37 2020
    Hi August,

    On 2020-01-07 22:50:29, you wrote to me:

    C: \>> gpg

    Did you have the option to type arguments here, or was the
    <enter> automatic?

    I just type gpg + ENTER. Apparently that is an option. ;)

    Ok, I think I was little bit confused about the 'gpg editor' part you mentioned. I was thinking that was maybe an option of your Enigmail...

    But you just meant the 'gpg' command line util.

    gpg: WARNING: no command supplied. Trying to guess what you
    mean... gpg: Go ahead and type your message...

    ...and then it sits there waiting for the message to be typed.

    Yes. But as you don't give it any command line commands. It expects content it can understand (import or decode).

    I start to type my message, but there is no obvious way to save it.

    That's right. You have to tell it on the command line with the correct options and commands what it needs to do with what you type.

    To do something valid here you will have to enter or paste
    something that gpg can understand. So either a ascii encoded
    key or pgp message. Something
    that starts with the usual "-----BEGIN PGP MESSAGE-----" etc...
    (You can paste by right clicking in the window or the window
    top bar, and selecting paste).

    Nope. The gpg editor does not dump the contents that I have in clipboard.

    It's what you tell cmd.exe to do with what's in the clipboard... Stop calling it the 'gpg editor'! It's not an editor. It's a command line util that gets its
    input from "stdin" that's provided to it by the shell (cmd.exe) it's running in.

    You pressed ctrl-c, I think, before entering anything that
    would be meaningfull content for 'gpg'...

    Yes, ^C ultimately killed the session. But none of the --commands on a line by line basis did anything either.

    The gpg editor is a mystery to me.

    Doesn't your linux version have the live editor feature too?

    I can have it do something interactively without using input or output files. (But it's not a "live editor"! ;))

    For instance:

    wilfred@wilnux5:~> gpg -sea -r 'August Abolins'

    You need a passphrase to unlock the secret key for
    user: "Wilfred van Velzen <wvvelzen@gmail.com>"
    4096-bit RSA key, ID 4A97932B, created 2017-10-25

    gpg: 69D0999F: There is no assurance this key belongs to the named user

    pub 2048R/69D0999F 2020-01-02 August Abolins <august@R_E_M_O_V_Ekolico.ca>
    Primary key fingerprint: D0EB 2A29 5204 F316 7EB2 503C EF0E 8965 5789 589B
    Subkey fingerprint: F649 033E EEEA 3FF9 2FEE 2147 583B 29AD 69D0 999F

    It is NOT certain that the key belongs to the person named
    in the user ID. If you *really* know what you are doing,
    you may answer the next question with yes.

    Use this key anyway? (y/N) y
    Hi how are you doing?
    -----BEGIN PGP MESSAGE-----
    Version: GnuPG v2

    hQEMA1g7Ka1p0JmfAQf/YmVdsrrmLyYFTnIUwm8qjd8Q6RqWTRzPkdSO1d+0LnWI ayLO19ja5r1/mPNjzSR9Wcd2fjcx76go5ksYyeT7CBE0C3mODsyPHMhIwQJCaeJX OemVe5VRnuqfuW+hvCa5Iiem3jzYC8lEoQ2Qxx2Og2w2sxaXc58wVnS4N2HKQZIb IeYAgAmM4OMNfuTk5cvX43acd/+184J+MoPd9uu6CfryMWg7H0P/Q4N11VJ/tqlA EEjuhRHJD0HAHWTq0JbL9TvpQ+swyf8r8mKNOMV04BDp+hMZRh1kDra37pS036JM 3LcmCYa70QquLmx4xJoDYT7do+/uCJ1nj6PK3DRY6tLpAXIxwusl+roZ+CRP29LM AyzTslERYTOW86n6sTILe+EfnxexwGH9Rp1mDQcwMeLLD9GLyPQgCtbqYzeYdtJ/ /O3i1u0ahW5qK4dXk75ERhTATwUqpoGkU7m4R1ZOrA4mFZUfar5HI9n8SUKG6DtR PZ9hHvpFKgU/3k4G7YhBaLGZEtH842AAftFtvI7HNOXKCk46Xez4v/S4cCFwYqfh Tqao6gKvuiS/f7Wcwylj+QbM9hzTImvI+CNqzl4q95GgtZOwyT5++xSxGMy9xy4A Tb9N4+IvSyF8rG7/RMvpHcCf62iAMJNXMA2k9sfQ0gEVjqu11PjmT5BfGJF0+32w h7DdxNVzSqpkra9hrtwbajCGzueq+LjAm9mWjpEadUe6MNHucB3l1NiO9SpeDKvm ID2dwWxu5muIztNWou0vM7XhRXum/Jn0BoJbW4ebXeiD55QFg2VQ44hOI5r2FltL 0JNnXt+VU7dm82YhfKfstp9oltqImNQNhG6vlcToA8dujIrs/Ezm1zbWu6iBUKGP TloZABOdM8b9HBwq6mRRES1ERQ+O5aCtY9XpD/vAyLkPL33vx145MH8pmOhm5nvz +HaPhaySTqjOo8mPRWuw0GQ/ThIN2e80jww7wyymzuNHMhEmjYtCPqj+Y11dsbBd /FB8GcZcQfXSWYj4kNNCfkGC31/GNhflWay90vvu0oSl1y5iMuAU09AnOpd1YZ9n c34pEu9SOgCqwhqn1YhzdqM4HPvjpl+pomATtmS7GVyVfZNRB7aleUtrfSBgTbmv j7tqhOOPyrO3KjtL0c6WpgKxKjfg9Smc4P+d/tF1XxQIc+Rep9AQ2+zieJ1GVmdh
    kj5IOg==
    =6ZGc
    -----END PGP MESSAGE-----
    wilfred@wilnux5:~>

    After the message about the passphrase, I get a seperate window to enter my passphrase.
    And I typed a ^d, after my "How are you doing?" line, to end my input (to the shell it's running in).

    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From August Abolins@2:221/1.58 to Wilfred van Velzen on Tue Jan 7 18:39:00 2020
    Hello Wilfred!

    ** 07.01.20 - 22:04, Wilfred van Velzen wrote to August Abolins:


    But you just meant the 'gpg' command line util.

    Correct. Pure gpg.exe


    I start to type my message, but there is no obvious way to save it.

    That's right. You have to tell it on the command line with the correct
    options and commands what it needs to do with what you type.

    Update: I *can* dump the contents of my clipboard in that area. But how
    do I save the results and start the encryption process?

    If gpg.exe is allowed without initial arguments/options, I am surprised
    that it runs at all.


    Nope. The gpg editor does not dump the contents that I have in
    clipboard.

    My mistake. Corrected above. Right-click-Paste dumps the clipboard into
    the live editor window.


    It's what you tell cmd.exe to do with what's in the clipboard... Stop
    calling it the 'gpg editor'! It's not an editor. It's a command line util
    that gets its input from "stdin" that's provided to it by the shell
    (cmd.exe) it's running in.

    OK, I get that. But I launch gpg.exe, it runs and is "Waiting for input".
    It does not fail. It sits there waiting for the message content. Fine.
    Then, how do I finish that process?

    If it expects all parameters/arguments at the command-line, then I am surprised that it runs at all. If using it without arguments makes not
    sense then I would expect it to issue a warning and exit immediately.


    I can have it do something interactively without using input or output
    files. (But it's not a "live editor"! ;))

    It behaves like a very basic editor. Backspace works. Insert works. IT continues a "message line" until I press enter. Then, I can continue on another line.

    For instance:

    wilfred@wilnux5:~> gpg -sea -r 'August Abolins'

    Noted.

    Use this key anyway? (y/N) y
    Hi how are you doing?

    OK. I started gpg with -->C:\gpg -sea -r wilfred

    Then I got the key prompt like above.
    Then I start typing a message.

    But how do I tell the program I am done?

    When I perform a ^d, it just sits there.

    I don't know how to trigger the prompt for a passphrase.


    After the message about the passphrase, I get a seperate window to enter
    my passphrase. And I typed a ^d, after my "How are you doing?" line, to
    end my input (to the shell it's running in).

    I guess I need to see someone doing it.

    I know how to use gpg with pre-written message files, and produce armoured output files. But I want to understand why the live, type as you go
    method does not work for me.


    ../|ug

    --- OpenXP 5.0.42
    * Origin: Key ID = 0x5789589B (2:221/1.58)
  • From August Abolins@2:221/360 to Wilfred van Velzen on Wed Jan 8 01:53:50 2020
    Sample session:

    C:\Documents and Settings\User>gpg -sea -r wilfred
    gpg: 3AC0573E2D3482F3: There is no assurance this key belongs to the
    named user

    sub rsa4096/3AC0573E2D3482F3 2017-10-25 Wilfred van Velzen <wvvelzen@gmail.com>

    Primary key fingerprint: D50E CD4F 514B 75DC 0A06 4F89 3BB3 7DA8 4A97 932B
    Subkey fingerprint: E2C3 89A4 BA14 0E9D 7ABF E46D 3AC0 573E 2D34 82F3

    It is NOT certain that the key belongs to the person named
    in the user ID. If you *really* know what you are doing,
    you may answer the next question with yes.

    Use this key anyway? (y/N) y
    will this work?
    ^D
    ^D

    will this work?

    --done
    /quit
    -exit
    Arggghhhh!

    What am I missing?

    --- Thunderbird 2.0.0.24 (Windows/20100228)
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From mark lewis@1:3634/12 to August Abolins on Wed Jan 8 07:03:27 2020
    Re: gpg "live" editor
    By: August Abolins to Wilfred van Velzen on Tue Jan 07 2020 22:50:29


    This is a private message...
    ^C

    I start to type my message, but there is no obvious way to save it.

    seems to me that the standard CTRL-Z should work as it has done for the last 30+ years... i've never used the software in question so that is definitely an eWAG ;)


    )\/(ark
    --- SBBSecho 3.10-Linux
    * Origin: SouthEast Star Mail HUB - SESTAR (1:3634/12)
  • From mark lewis@1:3634/12 to August Abolins on Wed Jan 8 07:15:15 2020
    Re: gpg "live" editor
    By: August Abolins to Wilfred van Velzen on Tue Jan 07 2020 18:39:00


    i don't know if this will help but i ran a quick search

    https://www.google.com/search?q=windows+gpg+how+to+terminate+a+message

    which turned up this post from 2013...

    https://lists.gnupg.org/pipermail/gnupg-users/2013-November/048256.html

    and here's another post on the same topic... follow the thread links for it...

    https://lists.gnupg.org/pipermail/gnupg-users/2013-September/047676.html

    maybe they'll help? if not, i guess they at least point to a gpg support group...


    )\/(ark
    --- SBBSecho 3.10-Linux
    * Origin: SouthEast Star Mail HUB - SESTAR (1:3634/12)
  • From August Abolins@2:221/360 to Wilfred van Velzen on Wed Jan 8 18:46:43 2020
    On 07/01/2020 4:04 p.m., Wilfred van Velzen : August Abolins wrote:

    After the message about the passphrase, I get a seperate window to enter
    my passphrase.
    And I typed a ^d, after my "How are you doing?" line, to end my input
    (to the shell it's running in).

    THANKS! That as a good lead.

    And here is my answer.

    Tommi should be able to read it too. (How I did that is a secret!) :)

    -----BEGIN PGP MESSAGE-----

    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
    =1lNZ
    -----END PGP MESSAGE-----

    BTW.. I like the way you tested an inline pgp block mixed in with
    regular clear text in this echo. TB seems to decode the block very
    nicely, but any clear text before or after the pgp block is obscured
    after it decodes the block automatically. I have to disable the
    auto-decrypt message. Just a tip for TB users!

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From August Abolins@2:221/360 to mark lewis on Wed Jan 8 18:50:31 2020
    On 08/01/2020 7:15 a.m., mark lewis : August Abolins wrote:

    Hi mark!

    i don't know if this will help but i ran a quick search

    https://www.google.com/search?q=windows+gpg+how+to+terminate+a+message

    [etc..]

    maybe they'll help? if not, i guess they at least point to a gpg
    support group...

    THANKS! The links were very helpful and illuminating.

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From August Abolins@2:221/360 to mark lewis on Wed Jan 8 19:23:26 2020
    On 08/01/2020 7:03 a.m., mark lewis : August Abolins wrote:


    seems to me that the standard CTRL-Z should work as it has done
    for the last 30+ years... i've never used the software in
    question so that is definitely an eWAG

    It's been a long time since I maybe should have known how to end input
    to stdin.

    My first venture with pgp was on a MicroVAX utilizing one of the BSD
    variants. I flip-flopped between a handful of shells. I did a lot of
    command line operations all the time. I used pgp and entered messages
    right at terminal quite bit. ^D was probably second-nature, but I don't remember that detail.

    I've never used the DOS/Win implementations of gpg/pgp before either.

    DOS needs to do things differently.

    But it seems to me that if gpg is launched without any parameters, it
    should output a message "Missing options" or something like that and
    then terminate.

    When it detects valid parameters/options, and spits out:

    gpg: Go ahead and type your message ...

    ...it should also include something like "When finished with your
    message, enter ^Z" to complete.

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Tommi Koivula@2:221/0 to August Abolins on Wed Jan 8 23:59:34 2020
    On 8.1.2020 18:46, August Abolins - Wilfred van Velzen :

    Tommi should be able to read it too. 

    Yes I can read it, but not in Thunderbird. I had to copy/paste it elsewhere to decrypt.

    'Tommi

    ---
    * Origin: smapinntp://rpi.rbb.bbs.fi (2:221/0.0)
  • From August Abolins@2:221/360 to Tommi Koivula on Thu Jan 9 02:27:18 2020
    On 1/8/2020 4:59 PM, between "Tommi Koivula : August Abolins":

    Tommi should be able to read it too.

    Yes I can read it, but not in Thunderbird. I had to copy/paste it
    elsewhere to decrypt.

    Do you mean the outter one? That worked at both of my TB installations.

    If you mean the inner blocks, then those did not work here either.


    ../|ug

    --- Thunderbird 2.0.0.24 (Windows/20100228)
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Wilfred van Velzen@2:280/464 to August Abolins on Thu Jan 9 09:57:12 2020
    Hi August,

    On 2020-01-07 18:39:00, you wrote to me:

    That's right. You have to tell it on the command line with the
    correct options and commands what it needs to do with what you type.

    Update: I *can* dump the contents of my clipboard in that area. But how do I save the results

    When you give gpg data through stdin, it's output will be on stdout, where you can copy/paste it from.

    and start the encryption process?

    You will have to tell it on the command line to do encryption with a commnad -e
    for encryption -s for signing -a for ascii armoured output, or -sea when you want to combine those.

    If gpg.exe is allowed without initial arguments/options, I am
    surprised that it runs at all.

    It's a feature. If you don't give it any command line options it expects key or
    encrypted material on stdin. This is also so you can pipe output from other commands directly into gpg.

    It's what you tell cmd.exe to do with what's in the clipboard...
    Stop calling it the 'gpg editor'! It's not an editor. It's a command
    line util that gets its input from "stdin" that's provided to it by
    the shell (cmd.exe) it's running in.

    OK, I get that. But I launch gpg.exe, it runs and is "Waiting for
    input". It does not fail. It sits there waiting for the message
    content. Fine. Then, how do I finish that process?

    By telling your terminal/shell it should finish close stdin. Which is done with
    pressing ^D in bash on linux that I use.

    If it expects all parameters/arguments at the command-line, then I am surprised that it runs at all. If using it without arguments makes not sense then I would expect it to issue a warning and exit immediately.

    See above.

    I can have it do something interactively without using input or output
    files. (But it's not a "live editor"! ;))

    It behaves like a very basic editor. Backspace works. Insert works. IT continues a "message line" until I press enter. Then, I can continue on another line.

    It's the shell (cmd on windows) that you are interacting with not gpg directly,
    it just gets from stdin what your shell puts there.

    OK. I started gpg with -->C:\gpg -sea -r wilfred

    Then I got the key prompt like above.
    Then I start typing a message.

    But how do I tell the program I am done?

    When I perform a ^d, it just sits there.

    I don't know what the apropriate key is in the windows shell...

    I don't know how to trigger the prompt for a passphrase.

    That should be automatic (if gpg is configured/installed correctly)...

    After the message about the passphrase, I get a seperate window to
    enter my passphrase. And I typed a ^d, after my "How are you doing?"
    line, to end my input (to the shell it's running in).

    I guess I need to see someone doing it.

    I know how to use gpg with pre-written message files, and produce
    armoured output files. But I want to understand why the live, type as
    you go method does not work for me.

    The windows shell is probably more limited than any of the linux shells. ;)

    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to August Abolins on Thu Jan 9 11:50:09 2020
    Hi August,

    On 2020-01-08 01:53:50, you wrote to me:

    Sample session:

    C:\Documents and Settings\User>gpg -sea -r wilfred
    gpg: 3AC0573E2D3482F3: There is no assurance this key belongs to the
    named user

    sub rsa4096/3AC0573E2D3482F3 2017-10-25 Wilfred van Velzen <wvvelzen@gmail.com>

    Primary key fingerprint: D50E CD4F 514B 75DC 0A06 4F89 3BB3 7DA8 4A97 932B
    Subkey fingerprint: E2C3 89A4 BA14 0E9D 7ABF E46D 3AC0 573E 2D34 82F3

    It is NOT certain that the key belongs to the person named
    in the user ID. If you *really* know what you are doing,
    you may answer the next question with yes.

    Use this key anyway? (y/N) y
    will this work?
    ^D
    ^D

    will this work?

    --done
    /quit
    -exit
    Arggghhhh!

    What am I missing?

    How to interact with cmd.exe...

    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to mark lewis on Thu Jan 9 11:58:10 2020
    Hi mark,

    On 2020-01-08 07:03:27, you wrote to August Abolins:

    This is a private message...
    ^C

    I start to type my message, but there is no obvious way to save it.

    seems to me that the standard CTRL-Z should work as it has done for the last 30+ years... i've never used the software in question so that is definitely an eWAG ;)

    When I type Ctrl-Z in my linux shell it has the same effect as Ctrl-C: gpg ends
    and I back at the shell prompt.

    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to August Abolins on Thu Jan 9 13:27:43 2020
    Hi August,

    On 2020-01-08 18:46:43, you wrote to me:

    After the message about the passphrase, I get a seperate window to
    enter my passphrase. And I typed a ^d, after my "How are you doing?"
    line, to end my input (to the shell it's running in).

    THANKS! That as a good lead.

    And here is my answer.

    Tommi should be able to read it too. (How I did that is a secret!) :)

    -----BEGIN PGP MESSAGE-----

    [I'll reply unencrypted. ;)]

    You wrote in the ecrypted part:

    And I typed a ^d, after my "How are you
    doing?" line, to end my input (to the shell it's running in).

    Ah.. that's a little closer to what I needed.

    Maybe in unix you can do this:

    How are you doing?^d

    But I can't.

    Maybe in the unix world it works as above.

    But I am Win32/DOS

    I have to do it this way:

    How are you doing<Enter>^z

    Hitting the <Enter> key is essential, and ^z seems to be the Win/DOS equivalent to end the stdin properly.

    Whatever works for you! ;)

    And.. sometimes it seems there is no response. There is a long delay
    before the passphrase window pops up.

    Your machine is busy decoding?

    The first time I used pgp way back in 1992-1994 it *was* on a unix
    machine.

    I've keys from 1993 of which I forgot the passphrase. :-(

    But I do have a working key from 1994! ;)

    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to August Abolins on Thu Jan 9 13:32:28 2020
    Hi August,

    On 2020-01-08 19:23:26, you wrote to mark lewis:

    But it seems to me that if gpg is launched without any parameters, it should output a message "Missing options" or something like that and
    then terminate.

    Nope, see other message.

    When it detects valid parameters/options, and spits out:

    gpg: Go ahead and type your message ...

    ...it should also include something like "When finished with your
    message, enter ^Z" to complete.

    This depends on the shell it's run from, so gpg probably doesn't know which key
    you should use to end stdin...

    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From Tommi Koivula@2:221/360 to August Abolins on Thu Jan 9 20:03:42 2020
     AA> Tommi should be able to read it too.

    Yes I can read it, but not in Thunderbird. I had to copy/paste it
    elsewhere to decrypt.

    Do you mean the outter one?  That worked at both of my TB installations.

    Yes. I just tried again with this TB 68.2.2 in Linux, but the result is
    still the same.

    'Tommi

    --- Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Tommi Koivula@2:221/360 to Wilfred van Velzen on Thu Jan 9 20:13:24 2020
    Hi Wilfred.

    09 Jan 20 13:27:42, you wrote to August Abolins:

    I've keys from 1993 of which I forgot the passphrase. :-(

    But I do have a working key from 1994! ;)

    I just found some 20+ years old PGP keyring files from my OS/2 machine. Let's see if I can use them. ;-)

    'Tommi

    ---
    * Origin: - rbb.fidonet.fi - Finland - (2:221/360)
  • From mark lewis@1:3634/12 to Wilfred van Velzen on Thu Jan 9 14:11:18 2020
    Re: Re: gpg "live" editor
    By: Wilfred van Velzen to mark lewis on Thu Jan 09 2020 11:58:10

    I start to type my message, but there is no obvious way to save it.

    seems to me that the standard CTRL-Z should work as it has done for the
    last 30+ years... i've never used the software in question so that is definitely an eWAG ;)

    When I type Ctrl-Z in my linux shell it has the same effect as Ctrl-C: gpg
    ends
    and I back at the shell prompt.

    yeah, i thought about that after i sent the message but it was aimed at a win/DOS user so no problems there...

    on my linux CTRL-Z doesn't terminate the program... it suspends the process but
    leaves it in memory... you can then use the fg command to bring the job back to living action in the foreground... if you have more than one process you have done CTRL-Z on, you can bring them back by "fg x" where 'x' is job number found by running the "jobs" command...


    )\/(ark
    --- SBBSecho 3.10-Linux
    * Origin: SouthEast Star Mail HUB - SESTAR (1:3634/12)
  • From mark lewis@1:3634/12 to Tommi Koivula on Thu Jan 9 14:14:27 2020
    Re: gpg "live" editor ..OK it's not really and editor! BUT..
    By: Tommi Koivula to Wilfred van Velzen on Thu Jan 09 2020 20:13:24

    But I do have a working key from 1994! ;)

    I just found some 20+ years old PGP keyring files from my OS/2 machine.
    Let's see if I can use them. ;-)

    some time back i brought mine over from my OS/2 system into this linux system... i forget the dance and inkantatshuns i had to perform and how many goats i had to sacrifice to get it to work but i did finally... now i don't remember what i did and i'll probably end up loosing those signed keys and having to start over again... maybe... just gotta remember the passphrase and see what happens...


    )\/(ark
    --- SBBSecho 3.10-Linux
    * Origin: SouthEast Star Mail HUB - SESTAR (1:3634/12)
  • From August Abolins@2:221/360 to Tommi Koivula on Thu Jan 9 21:28:28 2020
    On 08/01/2020 4:59 p.m., Tommi Koivula : August Abolins wrote:


     AA> Tommi should be able to read it too. 

    Yes I can read it, but not in Thunderbird. I had to copy/paste it
    elsewhere to decrypt.

    Oh.. I thought you were using TB with Enigmail.

    Regular cut'n'paste manually to elsewhere would suck.

    BTW.. too bad our phone pgp apps don't do inline encoding and only send
    the encoded sections as S/MIME.

    But Wilfred handles them fine from my phone device.

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Wilfred van Velzen@2:280/464 to Tommi Koivula on Thu Jan 9 20:33:08 2020
    Hi Tommi,

    On 2020-01-09 20:13:24, you wrote to me:

    I've keys from 1993 of which I forgot the passphrase. :-(

    But I do have a working key from 1994! ;)

    I just found some 20+ years old PGP keyring files from my OS/2 machine. Let's see if I can use them. ;-)

    Yeah, more keys! ;)

    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to mark lewis on Thu Jan 9 20:36:21 2020
    Hi mark,

    On 2020-01-09 14:11:18, you wrote to me:

    When I type Ctrl-Z in my linux shell it has the same effect as Ctrl-C:
    gpg ends and I back at the shell prompt.

    yeah, i thought about that after i sent the message but it was aimed at a win/DOS user so no problems there...

    on my linux CTRL-Z doesn't terminate the program... it suspends the
    process
    but leaves it in memory... you can then use the fg command to bring the
    job
    back to living action in the foreground... if you have more than one process you have done CTRL-Z on, you can bring them back by "fg x" where 'x' is job number found by running the "jobs" command...

    Actually that was what happend in my shell too. But I didn't notice what was happening. I could actually find the gpg job where I tested Ctrl-Z a couple of days back. It was still in the background of my shell. ;-)

    I've killed it now. Thanks for the learning experience! ;)

    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From mark lewis@1:3634/12 to Wilfred van Velzen on Thu Jan 9 14:59:53 2020
    Re: Re: gpg "live" editor
    By: Wilfred van Velzen to mark lewis on Thu Jan 09 2020 20:36:21


    on my linux CTRL-Z doesn't terminate the program... it suspends the
    process but leaves it in memory... you can then use the fg command
    to bring the job back to living action in the foreground... if you
    have more than one process you have done CTRL-Z on, you can bring
    them back by "fg x" where 'x' is job number found by running the
    "jobs" command...

    Actually that was what happend in my shell too. But I didn't notice
    what was happening. I could actually find the gpg job where I
    tested Ctrl-Z a couple of days back. It was still in the background
    of my shell. ;-)

    I've killed it now. Thanks for the learning experience! ;)

    happy to have been of service :)

    TBH, though, i've hit CTRL-Z by mistake a few times and thought i had lost my work... so i went hunting to find out what i had done and was relieved to find that this was what it was and i didn't lose anything... if i had rebooted, yeah, i'd have lost it but thankfully i didn't do that :lol:


    )\/(ark
    --- SBBSecho 3.10-Linux
    * Origin: SouthEast Star Mail HUB - SESTAR (1:3634/12)
  • From Tommi Koivula@2:221/1 to Wilfred van Velzen on Fri Jan 10 11:43:24 2020
    09 Jan 20 20:33, Wilfred van Velzen wrote to Tommi Koivula:

    I've keys from 1993 of which I forgot the passphrase. :-(

    But I do have a working key from 1994! ;)

    I just found some 20+ years old PGP keyring files from my OS/2 machine.
    Let's see if I can use them. ;-)

    Yeah, more keys! ;)

    Yeah! :D :D

    I found some DSA keys for email addresses that are not is use. :)

    'Tommi

    ---
    * Origin: 2001:470:1f15:cb0:f1d0:2:221:1 (2:221/1)
  • From Wilfred van Velzen@2:280/464 to Tommi Koivula on Fri Jan 10 11:13:20 2020
    Hi Tommi,

    On 2020-01-10 11:43:24, you wrote to me:

    I just found some 20+ years old PGP keyring files from my OS/2
    machine. Let's see if I can use them. ;-)

    Yeah, more keys! ;)

    Yeah! :D :D

    I found some DSA keys for email addresses that are not is use. :)

    And can you use them or revoke them? (aka do you know their passphrases?)

    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From Tommi Koivula@2:221/360 to Wilfred van Velzen on Fri Jan 10 12:16:15 2020
    I found some DSA keys for email addresses that are not is use. :)

    And can you use them or revoke them? (aka do you know their passphrases?)

    I revoked them. Yes, I did remember the passphrases. :)

    --- Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From August Abolins@2:221/360 to Tommi Koivula on Fri Jan 10 19:08:05 2020
    On 09/01/2020 1:03 p.m., Tommi Koivula : August Abolins wrote:

    Tommi should be able to read it too.

    Yes I can read it, but not in Thunderbird. I had to copy/paste
    it elsewhere to decrypt.

    Do you mean the outter one? That worked at both of my TB
    installations.

    Yes. I just tried again with this TB 68.2.2 in Linux, but the
    result is still the same.

    Just to confirm, are we talking about the same test, the one with:

    X-JAM-MSGID: 2:221/360.0 5e16299e

    If so, it works here. I'll email you pictures of what I see.

    I have Enigmail configured for Automatical Decrypt/Verify.

    BTW.. When I am viewing that message in a fresh session, there is a bit
    of a delay (maybe 5 seconds) before the passphrase pops up. Maybe
    you're not waiting long enough, or another window is sitting on top of it?

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Tommi Koivula@2:221/360 to August Abolins on Fri Jan 10 20:29:43 2020
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA256

    On 10.1.2020 19:08, August Abolins : Tommi Koivula :

    Yes. I just tried again with this TB 68.2.2 in Linux, but the
    result is still the same.

    Just to confirm, are we talking about the same test, the one with:

    X-JAM-MSGID: 2:221/360.0 5e16299e

    If so, it works here. I'll email you pictures of what I see.

    I have Enigmail configured for Automatical Decrypt/Verify.

    So do I.

    BTW.. When I am viewing that message in a fresh session, there is a bit
    of a delay (maybe 5 seconds) before the passphrase pops up. Maybe
    you're not waiting long enough, or another window is sitting on top of it?

    No. I even tried to push manually the "Decrypt/Verify" button. No help.

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101
    Thunderbird/60.9.1

    But maybe there is the reason. I updated my TB's to 68.x.x. This 17.0.11 ESR has no problems. :)

    'Tommi

    -----BEGIN PGP SIGNATURE-----
    Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

    iQFFBAEBCAAvFiEEQTJnraOsQBoYwCPS0ikymSpvgioFAl4YwpgRHHRvbW1pQHJi Yi5iYnMuZmkACgkQ0ikymSpvgioDIQf+L5TKbqgka6KJZUgYVxrNEjheNcqoPCji j+hFSzMbEUKlBGJ6Ejeuv7i8qif/Eseabxhs0QYzORcmze2tnEexI+N2SI3tSoMu thwFdAb8ZBnw+EhC8RCSpCljrCtSS5ec2/dYema2EPiUhlfwMjNuVh8+ks9DXEjD HiOBgJiBFaQ4ABeavDPKz7AHA6zMTalJ7dl4vdFcKD5IZDsgS6ophudGzgqnCwVn 7Y0seI1UjBxKw9l5frNL00R/FGPV2V4S7ILi1B8cUl6Ld/gJEd0NJa472nnAQbN3 7stv0tgzms4aIdCnYYLtD0XlMZnuOonkVH/HjkV+Ifo0VHm7dBI4Mg==
    =hgUo
    -----END PGP SIGNATURE-----

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From August Abolins@2:221/360 to Tommi Koivula on Fri Jan 10 21:41:20 2020
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA256

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101
    Thunderbird/60.9.1

    But maybe there is the reason. I updated my TB's to 68.x.x.
    This 17.0.11 ESR has no problems. :)

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11


    VERY interesting. TB reminds me that there is a 68.3.1 version
    available. I'll stick with 60.9.1 thank you very much!

    It's disappointing when a feature you are familiar with is suddenly
    broken in the "latest and greatest" version. That's not so great.

    There were some nice presentation tricks that I liked about 2.0.0.24,
    before they changed how things looked in a later version. 2.0.0.24
    operates very nice (on the my XP laptop.).

    These latest exercises in gpg multipart encoding convince me to stick
    with what works!

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

    iQEzBAEBCAAdFiEE0OsqKVIE8xZ+slA87w6JZVeJWJsFAl4Y00gACgkQ7w6JZVeJ WJuYlgf+JOcn4EF+ykpfEQDtPbRccwApgtAkYuCsPxbR7fX4qXy/kW4NQOwUyqSt +D9vt5OQcjHzGj7BQ+UUCTGY8uNl5yoY7cbM8A75N4/DzGKFhmLO6Evbz2uxYXit UUTeEZjGKamHgvjSGPwdajs+2zWWgMT39nN0f5tBxQ7iRNlL+K1Hrd4Wzu6l3fcq hgJSr7dhWvzxVR54AmLxWP187hlTBb3ztqqrpSzFjKtLb61hUt8RcoR46sN6Zsxy vgXZhSMmOR5CFPfwahWYxE4QTlwLtzkzG8nsai8W5fc7f97tfFVw0dXi1yhCwupP JHE+qq1tGXy6cVLJrpa0ri2jfmH5yQ==
    =Cyfq
    -----END PGP SIGNATURE-----

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Tommi Koivula@2:221/360 to August Abolins on Fri Jan 10 22:18:25 2020
    On 10.01.2020 21:41, August Abolins -> Tommi Koivula :

    ********* *BEGIN ENCRYPTED or SIGNED PART* *********

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101
    Thunderbird/60.9.1

    But maybe there is the reason. I updated my TB's to 68.x.x.
    This 17.0.11 ESR has no problems. :)

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11


    VERY interesting. TB reminds me that there is a 68.3.1 version
    available. I'll stick with 60.9.1 thank you very much!

    It's disappointing when a feature you are familiar with is suddenly
    broken in the "latest and greatest" version. That's not so great.

    Now I updated to 68.4.1. And once again it works. WTF?!

    The old truth is still there: if it works, dont try to fix it. :)

    'Tommi

    --- Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From August Abolins@2:221/360 to Tommi Koivula on Mon Jan 13 17:19:50 2020
    On 10/01/2020 3:18 p.m., Tommi Koivula : August Abolins wrote:


    VERY interesting. TB reminds me that there is a 68.3.1 version
    available. I'll stick with 60.9.1 thank you very much!

    Now I updated to 68.4.1. And once again it works. WTF?!
    The old truth is still there: if it works, dont try to fix it.

    Is the problem with loading ng messages working better? I am referring
    to when you select one of the subscribed areas in rbb.bbs.fi, go to a
    new header that hasn't been read, and the body of the message is blank,
    UNLESS you close TB and reload it.

    It's still an occasional problem with this 60.9.1

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Tommi Koivula@2:221/360 to August Abolins on Mon Jan 13 20:58:13 2020
    Now I updated to 68.4.1. And once again it works. WTF?!
    The old truth is still there: if it works, dont try to fix it.

    Is the problem with loading ng messages working better?… I am referring
    to when you select one of the subscribed areas in rbb.bbs.fi, go to a
    new header that hasn't been read, and the body of the message is blank, UNLESS you close TB and reload it.

    It's still an occasional problem with this 60.9.1

    I haven't noticed any difference. Sometimes I still need to "repair folder". But not too often.

    'Tommi

    --- Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)