what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

pine_pgp.html

pine_pgp.html
Posted Dec 21, 1999

pine_pgp.html

tags | encryption
SHA-256 | a3b7cef8b8ce127acb309d4eac83238facd4ef45c9b2e6d613b8d7abd36de2b6

pine_pgp.html

Change Mirror Download
<html><Head>
<Title>
Integrating Pine and PGP (on Unix)
</Title>
</Head>
<Body>
<H1>
Integrating Pine and PGP (on Unix)
</H1>

<h2>Requirements:</h2>
<ul>

<li>Pine 3.92 or newer version.

<li>PGP and a set of private and public keys.
</ul>
<hr>
<h2>Conventions:</h2>
<p>Instructions for the content to be typed are between single quote, '<kbd>like this</kbd>'. For example, you type only the letter '<kbd>s</kbd>' when I say type '<kbd>s</kbd>'. When I say type '<kbd>_LEADING("-----BEGIN PGP") xxxx</kbd>', you type everything starting with an undescore up to the 4 x.
<hr>


Let's do it:
<ol>
<li>Launch <b>Pine</b>.
<li>Go to the Setup Configuration menu (type '<kbd>s</kbd>' then '<kbd>c</kbd>').
<li>Go down the menu a few pages and find <em>display-filters</em>.
<li>Type '<kbd>?</kbd>' and read the help message for this item.
<li>Type '<kbd>a</kbd>' to enter a new value like this '<kbd>_LEADING("-----BEGIN PGP")_ /local/bin/display.sh</kbd>', which will activate PGP if a message contains a line that starts with (or has a leading character string of) <em>-----BEGIN PGP</em>. Either encrypted or clear-signed message will activate PGP. You will be prompted for passphrase. You will see all the PGP messages before it finishes the chore.
<li>Go to the item <em>sending-filters</em> and read its help message by typing
'<kbd>?</kbd>'.
<li>Type '<kbd>a</kbd>' to add a value like this: '<kbd>/local/bin/pgp_sign -satf</kbd>', which serves as your clear-sign filter. Because Pine displays only the application's name, not the parameter, using the original <em>pgp</em> can be confusing at times. The symbolic links <em>pgp_sign</em> make it obvious for what purpose PGP is used for in this and the next filter.
<li>Type '<kbd>a</kbd>' to add another value like this: '<kbd>~/.pgpstuff/pgp_crypt -esatf _RECIPIENTS_</kbd>', which serves as your encryption filter. The public keys of the recipients of the email will be used by PGP to encrypt the outgoing mail (also see comment for the previous item).
<li>Type '<kbd>e</kbd>' to exit the configuration menu, and '<kbd>y</kbd>' to confirm the changes.
</ol>
You've done it! Test it out by signing and encrypting some emails to yourself and display them!
<hr>
The above procedure puts the sending filters in optional positions. That is, they are not used as the first choice when you send mail after composing. If you hit return to the prompt "sending message (unfiltered)?", none of the filters will be used and your email will be plain text.
<p>
If you would like to sign all the messages by default, you should make sure the pgp_sign is the first filter in your configuration menu, and turn on the option <em>compose-send-offers-first-filter</em> in the configuration menu. You can select encryption as the first choice likewise.
<p>
No matter how you configure PGP with Pine, you are allowed to choose a filter for each message. Just use "^P" or "^N" to scan through all the filters (the unfiltered is one of the choices).
<p>
Happy Pining!
<hr>

One may want to include the sender's key in the encryption so that the carbon copy (in the send-mail folder) can be decrypted by the sender. There are a few ways to make this happen. One approach is to add a line in the (PGP's) config.txt file like this: "ENCRYPTTOSELF=on". If you do not have a config.txt file, the other method is to use "+ENCRYPTTOSELF=ON" in the pgp command line. I have tried the first method and it worked. Remember that the config.txt file must be in your "PGPPATH" (default is ~/.pgp). This tip comes from <a href="mailto:gern@spu.edu">peter bohac</a> of Seattle Pacific University.

<p>If one uses a mail alias address, it may be necessary to add another
line in the config.txt file to indicate the key ID: MyName = "xxxx xxxx".

<hr>

I welcome you to visit my home <a href="http://www.pharm.med.uc.edu/~yuan"> page</a>, or <A HREF="com_jy.html">email</A> me if you like.
<HR>
<pre>
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzFiq7YAAAEEAPcTcNg+VsG7S7MYJvWVMaO8I21xBtWnxYdUW2zA3if2GWD8
Ec+TruwNXSaXjhdLjMKd7OGNG0T34AOVB4Y/aS7lyvIEErNgdAR15DU3BIK6IpE3
Ezi/NqEYhltOPPhPb6dhG7CEKtpKB8EZ9h70LJ8AFmwZYbmvL4pLoVGlQuM1AAUR
tBpKaWUgWXVhbiA8SmllLll1YW5AVUMuRURVPg==
=/gSW
-----END PGP PUBLIC KEY BLOCK-----
</pre>
Last update:
1996 Oct 15.
</Body></html>
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close