Decrypt File
Koehne, Walter
walter.koehne@tgslc.org
Fri Sep 13 20:30:01 2002
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C25B40.2E3B54B0
Content-Type: text/plain;
charset="iso-8859-1"
I am trying to decrypt a file programmatically without entering the pass
phrase. I am the holder of the secret key and it is the default key ring.
I have a system up that another person configured and I can decrypt a file
that as encrypted with my secret key without entering a pass phrase.
However when I setup a new environment and try to decrypt a new file made
with a new key it always asks for the pass phrase. I am writing a program
to use this code and I do not want the program to have to ask for a pass
phrase.
I am writing the program using Delphi v5. I am creating a batch file to
execute the gpg command.
Question: Why is the one environment not asking for a pass phrase and the
other asking? Remember that both secret keys are in each environment and
once I enter the pass phrase it is successful.
Thanks!
_____________________________________________
Walter E. Koehne
Sr. Programmer Analyst
Application Production Support; Mail Drop T8-3
Texas Guaranteed Student Loan Corp.
P.O. Box 201725
Austin, Texas 78720-1725
Office (512) 219-4793
(800) 252-9743 x4793
Pager (512) 849-5910
FAX (512) 336-6735
Mobile (512) 971-0798
walter.koehne@tgslc.org
Text Message:
5128495910@page.metrocall.com
www.tgslc.org
------_=_NextPart_001_01C25B40.2E3B54B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Comic Sans MS";
panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am trying to decrypt a file programmatically =
without entering
the pass phrase.=A0 I am the holder of the secret key and it is the =
default key
ring.=A0 I have a system up that another person configured and I can =
decrypt a
file that as encrypted with my secret key without entering a pass =
phrase.=A0
However when I setup a new environment and try to decrypt a new file =
made with
a new key it always asks for the pass phrase.=A0 I am writing a program =
to use
this code and I do not want the program to have to ask for a pass =
phrase. </span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am writing the program using </span></font><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Delphi</span></font><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> v5.=A0 I am creating
a batch file to execute the gpg command.</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Question: Why is the one environment not asking for =
a pass
phrase and the other asking?=A0 Remember that both secret keys are in =
each
environment and once I enter the pass phrase it is =
successful.</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p><b><i><font size=3D4 color=3Dred face=3D"Comic Sans MS"><span =
style=3D'font-size:
13.5pt;font-family:"Comic Sans =
MS";color:red;font-weight:bold;font-style:italic'>Thanks!</span></font><=
/i></b>
</p>
<p><b><font size=3D1 color=3Dblack face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial;color:black;font-weight:bold'>________________________=
_____________________</span></font></b><br>
<b><font size=3D5 color=3Dblack face=3DArial><span =
style=3D'font-size:18.0pt;
font-family:Arial;color:black;font-weight:bold'>Walter E. =
Koehne</span></font></b><br>
<font size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;font-family:
Arial;color:blue'>Sr. Programmer Analyst<br>
Application Production Support; Mail Drop T8-3<br>
</span></font><font size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial;color:blue'>Texas</span></font><font size=3D1 =
color=3Dblue
face=3DArial><span =
style=3D'font-size:7.5pt;font-family:Arial;color:blue'>
Guaranteed Student Loan Corp.<br>
</span></font><font size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial;color:blue'>P.O. Box</span></font><font size=3D1 =
color=3Dblue
face=3DArial><span =
style=3D'font-size:7.5pt;font-family:Arial;color:blue'> =
201725</span></font><font
size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;font-family:Arial;
color:blue'><br>
</span></font><font size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial;color:blue'>Austin</span></font><font size=3D1 =
color=3Dblue
face=3DArial><span =
style=3D'font-size:7.5pt;font-family:Arial;color:blue'>, =
</span></font><font
size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;font-family:Arial;
color:blue'>Texas</span></font><font size=3D1 color=3Dblue =
face=3DArial><span
style=3D'font-size:7.5pt;font-family:Arial;color:blue'> =
</span></font><font
size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;font-family:Arial;
color:blue'>78720-1725</span></font><br>
<font size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;font-family:
Arial;color:blue'>Office (512) 219-4793<br>
(800) 252-9743 x4793<br>
Pager (512) 849-5910<br>
FAX (512) 336-6735<br>
Mobile (512) 971-0798<br>
</span></font><font size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial;color:blue'>walter.koehne@tgslc.org</span></font> =
<br>
<font size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;font-family:
Arial;color:blue'>Text Message: </span></font><br>
<font size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;font-family:
Arial;color:blue'> 5128495910@page.metrocall.com</span></font> =
<br>
<font size=3D1 color=3Dblue face=3DArial><span =
style=3D'font-size:7.5pt;font-family:
Arial;color:blue'>www.tgslc.org</span></font> </p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C25B40.2E3B54B0--