LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2006, 11:27 AM   #1
cricos
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
gpg in batch mode - help


I am trying to encrypt a file with gpg in batch mode and can't make it work. In interactive mode evrything is great. I run this (I replaced original user-id and file):

gpg -r <user-id> --encrypt <file>

I get this message below and I answer yes and it's working

gpg: E65A726B: There is no indication that this key really belongs to the owner
2048g/E65A726B 2004-06-02 "<user-id>"
Fingerprint: 2B33 64AC D62E 9B37 2B88 7F8D AD4B C226 E65A 726B

It is NOT certain that the key belongs to its owner.
If you *really* know what you are doing, you may answer
the next question with yes

Use this key anyway?

In batch mode:

Here is the command I am using and the message:

gpg --batch -r <user-id> --encrypt <file>

and I get:
gpg: E65A726B: There is no indication that this key really belongs to the owner
gpg: no valid addressees
gpg: <file>: encryption failed: no such user id

I really appreciate any help.
Thak you
 
Old 01-21-2006, 08:14 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I'd suggest reading the documentation, more specifically
the gpg README and FAQ that are shipped with the app.



Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i want to convert .wav file into mp3 files in batch mode sparsh Linux - Software 6 11-20-2007 10:53 AM
How can I change display mode from character mode to graph mode wuzhong Linux - Hardware 1 08-08-2004 09:36 AM
batch vs ?????? munna_502 Linux - Software 6 04-01-2004 09:42 PM
Mandrake 9.2's boot process entirely done in console mode before loading in X mode... mishmash Mandriva 6 02-17-2004 09:19 PM
MySQL in batch mode ganninu Linux - General 1 11-20-2003 05:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration