This file is indexed.

/usr/share/doc/gnupg-doc/mini-HOWTO/GPGMiniHowto-4.html is in gnupg-doc 2003.04.06+dak1-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.69">
 <TITLE>GNU Privacy Guard (GnuPG) Mini Howto (English): Encrypt and decrypt</TITLE>
 <LINK HREF="GPGMiniHowto-5.html" REL=next>
 <LINK HREF="GPGMiniHowto-3.html" REL=previous>
 <LINK HREF="GPGMiniHowto.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="GPGMiniHowto-5.html">Next</A>
<A HREF="GPGMiniHowto-3.html">Previous</A>
<A HREF="GPGMiniHowto.html#toc4">Contents</A>
<HR>
<H2><A NAME="GPG-Minihowto-encrypt"></A> <A NAME="s4">4.</A> <A HREF="GPGMiniHowto.html#toc4">Encrypt and decrypt</A></H2>

<P>After installing everything and configuring everything in the way we want,
we can start on encrypting and decrypting. </P>
<P>When encrypting or decrypting it is possible to have more than one private key 
in use. If this occurs you need to select the active key. This can be done by
using the option <CODE>-u UID</CODE> or by using the option <CODE> --local-user UID</CODE>.
This causes the default key to use to be replaced by wanted key.</P>
<P>If you want to change recipient this can be done by the option <CODE>-r</CODE>
or by the option <CODE>--recipient</CODE>.</P>

<H2><A NAME="ss4.1">4.1</A> <A HREF="GPGMiniHowto.html#toc4.1">Encrypt</A>
</H2>


<P>The command to encrypt is
<BLOCKQUOTE><CODE>
<PRE>
gpg -e Recipient [Data]
</PRE>
</CODE></BLOCKQUOTE>

or
<BLOCKQUOTE><CODE>
<PRE>
gpg --encrypt Recipient [Data]
</PRE>
</CODE></BLOCKQUOTE>

To avoid the risk that somebody else claims to be you,
it is very useful to sign everything you encrypt, see 
<A HREF="GPGMiniHowto-5.html#GPG-Minihowto-signatures">signatures</A>.</P>

<H2><A NAME="ss4.2">4.2</A> <A HREF="GPGMiniHowto.html#toc4.2">Decrypt</A>
</H2>

<P>The command for decrypting is:
<BLOCKQUOTE><CODE>
<PRE>
gpg [-d] [Data] 
</PRE>
</CODE></BLOCKQUOTE>

or
<BLOCKQUOTE><CODE>
<PRE>
gpg [--decrypt] [Data]
</PRE>
</CODE></BLOCKQUOTE>

Also here <CODE>stdout</CODE> is preset, but with the <CODE>-o</CODE> option you can
redirect the output to a file.</P>

<HR>
<A HREF="GPGMiniHowto-5.html">Next</A>
<A HREF="GPGMiniHowto-3.html">Previous</A>
<A HREF="GPGMiniHowto.html#toc4">Contents</A>
</BODY>
</HTML>