Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
06-04-2007, 03:14 PM
|
#16
|
LQ Newbie
Registered: May 2007
Location: South Dakota
Distribution: Debian Etch (8), XP (1), FreeBSD (1), HP-UX (1)
Posts: 23
Rep:
|
what is the output of gpg -k
pub 1024D/1C214030 2007-06-02
uid freddy (test key) <none@nowhere.com>
sub 2048g/6E009DA6 2007-06-02
pub 1024D/062BC4DF 2007-06-02
uid testing (test key two) <testing@testing.com>
sub 1024g/85D5A33B 2007-06-02
pub 1024D/3D11E4FF 2007-06-02
uid chalkroot (another test key, with password) <root@noemail.org>
sub 1024g/76E9FC59 2007-06-02
There is the snip from my gpg used in example above. The --recipient is the name in bold (uid line) of each public key. So you should have a greg (info) <gregs@email.com> line there if you intend to encrypt it to greg.
try gpg --sign-key greg
see if that gives you an error. signing that key basically states you trust that key belongs to greg.
|
|
|
06-05-2007, 03:43 AM
|
#17
|
Member
Registered: Mar 2007
Posts: 109
Original Poster
Rep:
|
Hi,
gpg -k gives me
[root@arsha root]# gpg -k
/root/.gnupg/pubring.gpg
------------------------
pub 1024D/53812876 2007-05-03 WorkForce <greg@workforce.co.za>
sub 2048g/158416E1 2007-05-03
pub 1024D/C1CA0757 2007-06-05 arsha (arsha) <arshab@workforce.co.za>
sub 1024g/33CBBAAC 2007-06-05
i also tried signing the key greg
gpg --sign-key greg with my secret key to trustt and accept it.
but still it does gives me the same message
There is no indication that this key really belongs to the owner
Now what ??
|
|
|
06-05-2007, 04:17 AM
|
#18
|
Member
Registered: Mar 2007
Posts: 109
Original Poster
Rep:
|
Hi,
can u please give me ur email address so that i can mail the public key and see if it works
Regards,
|
|
|
06-05-2007, 05:52 AM
|
#19
|
Member
Registered: Mar 2007
Posts: 109
Original Poster
Rep:
|
Hi troybtj,
My cron file log generated looks like this,
gpg: using secondary key 158416E1 instead of primary key 53812876
gpg: 158416E1: There is no indication that this key really belongs to the owner
gpg: cannot open /dev/tty: No such device or address
|
|
|
06-05-2007, 02:56 PM
|
#20
|
LQ Newbie
Registered: May 2007
Location: South Dakota
Distribution: Debian Etch (8), XP (1), FreeBSD (1), HP-UX (1)
Posts: 23
Rep:
|
With the file he gave you (his public key)
type gpg --import <keyfilename>
Then if you type gpg -k it should show up. If not, have him resend the key, make sure it is not corrupt.
|
|
|
06-13-2007, 08:53 AM
|
#21
|
Member
Registered: Mar 2007
Posts: 109
Original Poster
Rep:
|
Hi,
i sorted the problem after a long while,
run the script using crontab -e instead of directly putiing it in /etc/crontab, it some how sets up the environment variables correctly
regards
Aeby
|
|
|
All times are GMT -5. The time now is 04:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|