LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-19-2006, 05:07 PM   #61
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47

Thanks Happy Tux

I can't fathom out what you have written.

Here you needed --output in the line the easiest way to remember this is in the vast majority of options if it is a letter then -a say if a word then --all you need the -- for a word option.
[ I don't know the meaning of the above sentence.]

What is BTW?

I looked at Google about the kgpg. It is a graphical version of the GPG.
Do I need this? I have the command line version. Is it a differnt product?
Does it overwrite the command line version?
-----------------------------------------------------

Tinkster insists that I must read the The Frindly Manual.
As far as I am concerned, it is an Unfrindly Manual.
They don't know how to write in a simple manner.
 
Old 08-19-2006, 05:25 PM   #62
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,908

Rep: Reputation: 173Reputation: 173
Quote:
Originally Posted by Gins
Thanks Happy Tux

I can't fathom out what you have written.

Here you needed --output in the line the easiest way to remember this is in the vast majority of options if it is a letter then -a say if a word then --all you need the -- for a word option.
[ I don't know the meaning of the above sentence.]
When an option is a full word/combination of words you need a -- in front of it in the vast majority of the cases if its a letter then only a - is needed.
Quote:
What is BTW?
Short for by the way if you install the dict and dictd packages along with the on-line dictionary dictionary then you could use at the command line.

Code:
dict BTW

1 definition found

From The Free On-line Dictionary of Computing (19 Sep 2003) [foldoc]:

  BTW

     <chat> By the way.

     (2002-06-12)
Quote:
I looked at Google about the kgpg. It is a graphical version of the GPG.
Do I need this? I have the command line version. Is it a differnt product?
Does it overwrite the command line version?
-----------------------------------------------------
Not needed if you want to do it on command line all the time. It is a KDE front end for gpg and is used in place of the command line version the command line version will still be available for use if it is installed.
Quote:
Tinkster insists that I must read the The Frindly Manual.
As far as I am concerned, it is an Unfrindly Manual.
They don't know how to write in a simple manner.
That is a common complaint with man pages especially the ones where they never give clear examples of how the command should be used some are better than others. Even after all these years of using linux I look at them sometimes and think just what the hell is that supposed to mean.
 
Old 08-19-2006, 10:23 PM   #63
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Originally Posted by Gins
Tinkster insists that I must read the The Frindly Manual.
As far as I am concerned, it is an Unfrindly Manual.
They don't know how to write in a simple manner.
As far as I'm concerned it doesn't seem to make much of
a difference whether it's spelt out in plain or inside a man-
page .... :}

You didn't even manage the transition from
Code:
 gpg -d test.gpg  --output newfile.txt
to the same thing with just a different name for the output
file - I mean, how sad is that.

And you ignored the option
Code:
gpg test.gpg
which would have created a file called test.asc for
you rather than having to specify a name explicitly.



Cheers,
Tink

Last edited by Tinkster; 08-19-2006 at 10:24 PM.
 
Old 08-20-2006, 07:53 AM   #64
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
I thank Happy Tux and Tinkster for their comments. Your comments are useful to me.

In this decryption process, I never used my private key. It is my understanding that the private key is a must in the process of decryption.
Could you please comment on this?

By the way, I have been telling here that the man pages are not written in an user frindly manner.This is purely the my point of view.

Some websites are written in an excellent fashion. Please look at the following website. It is an excellent website for people who are intereted in UNIX. You can never ever draw a parallel with man pages and thie website.

http://www.computerhope.com/unix.htm
 
Old 08-20-2006, 01:05 PM   #65
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Of course you used your private key. You were prompted to give your
pass-phrase. The information WHICH key can be used to decrypt a file
comes INSIDE the encrypted file.




Cheers,
Tink
 
Old 08-20-2006, 01:33 PM   #66
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Do you mean the passphrase is someway combined to the private key?

It seems you don't have a public key. I searched invain for Tinkster.

Last edited by Gins; 08-20-2006 at 01:34 PM.
 
Old 08-20-2006, 01:59 PM   #67
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,908

Rep: Reputation: 173Reputation: 173
Quote:
Originally Posted by Gins
Do you mean the passphrase is someway combined to the private key?
The passphrase is used when generating the key along with the key generating method chosen this combines to produce the public/private keys, when decrypting gpg checks in the keyring for the private key which was used to encrypt the file (this information is identified/contained in the encrypted file as well as the file contents) then asks for the passphrase if you have the right passphrase it decrypts the file if not it fails and the file remains encrypted.
 
Old 08-20-2006, 02:19 PM   #68
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Happy Tux for taking time to reply me again.

I would like to download and install kgpg. Please look at the following:
-----------------------------------------------
Downloading Kgpg:
KGpg 1.1 is in the kdeutils package of KDE 3.2. You can download it from kde.org
Old version(source file): kgpg-1.0.0.tar.gz (signature)

http://developer.kde.org/~kgpg/download.html
------------------------------------------------


I would like to download and install the above 'kgpg-1.0.0.tar.gz' file.

Are you sure it will not create problems for me?
Will it corrupt the existing gpg program?
Is it the same program?
Do I have to crate new keys or my present keys will work?


---------------------------------------

[root@c83-250-110-112 nissanka]# gpg --version
gpg (GnuPG) 1.4.2.2
Copyright (C) 2005 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512
Compression: Uncompressed, ZIP, ZLIB, BZIP2
[root@c83-250-110-112 nissanka]#

Last edited by Gins; 08-20-2006 at 02:21 PM.
 
Old 08-20-2006, 02:35 PM   #69
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,908

Rep: Reputation: 173Reputation: 173
Your running Mandrake right? If so you should be able to get kgpg using its package manager no need to download from the KDE site. All Kgpg does is give you a KDE front end program that uses the gpg already on the system no need for new keys it will find your existing keyring just fine and use it for what it needs to do its job.
 
Old 08-20-2006, 02:42 PM   #70
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
I don't think it is there. I will look at the package manager. Not right now. I must sleep now as I have to leave early in the morning to go to work.

I know life make easy if I could use the package manger to install the programs.
 
Old 08-21-2006, 02:31 PM   #71
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Happy Tux

I looked at the package manager. I found the following files. Could you please tell me which one to install?



pinentry-gtk-0.7.2-2mdk


----------------------------------------
gnupg-1.4.2.2-0.2.20060mdk

Summary: GNU privacy guard - a free PGP replacement

Description: GnuPG is GNU's tool for secure communication and data storage. It can be used to encrypt data and to create digital signatures. It includes an advanced key management facility and is compliant with the proposed OpenPGP Internet standard as described in RFC2440.
-------------------------------------------

-----------------------------------------
gnupg2-1.9.16-4.1.20060mdk

Summary: GNU privacy guard - a free PGP replacement

Description: GnuPG is GNU's tool for secure communication and data storage. It can be used to encrypt data and to create digital signatures. It includes an advanced key management facility and is compliant with the proposed OpenPGP Internet standard as described in RFC2440.

---------------------------------------



-----------------------------------------------------
gnupg2-1.9.16-4mdk

Summary: GNU privacy guard - a free PGP replacement

Description: GnuPG is GNU's tool for secure communication and data storage. It can be used to encrypt data and to create digital signatures. It includes an advanced key management facility and is compliant with the proposed OpenPGP Internet standard as described in RFC2440.
------------------------------------------------------



--------------------------------------------------
gnupg-idea-plugin-20020803-2pdf

Summary: IDEA plugin for gnupg

Description: This is a plugin for the GNU Privacy Guard implementing the IDEA cipher. It's covered by patents, that's why it's in the PLF.
----------------------------------------






gpgp-0.4-10mdk [GUI shell for GnuPG
Summary: GUI shell for GnuPG

Description: GnomePGP is a GNOME application - a GUI shell for GnuPG.




--------------------------------------------------------
--------------------------------------------------------

There is no kgpg in the packae manager. Shall I download and install the following file?

http://developer.kde.org/~kgpg/download.html
 
Old 08-21-2006, 03:21 PM   #72
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,908

Rep: Reputation: 173Reputation: 173
The page you link too has the kgpg in the kdeutils so check to see if Mandrake has that for a package it may not be separate. If not available then you can always install the gpgp-0.4-10mdk and use the gnome front end version it will work under KDE.
 
Old 08-22-2006, 04:02 PM   #73
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Happy Tux for the reply.
I am a bit busy at the moment and it is very difficult to find time to work with computers. I will contact you soon.
 
Old 09-03-2006, 01:59 PM   #74
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
I need help again. I just want to check some files or rather CDs which I downloaded.
They gave me the following key.
----------------------------------------------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

f5143f56d54f73564eb784723c568699 mandriva-free-2007-tyr-CD1.x86_64.iso
ff2953a97718462a5340d14249d0c5e1 mandriva-free-2007-tyr-CD2.x86_64.iso
0c317ccf56445a44f251fd809777fa77 mandriva-free-2007-tyr-CD3.x86_64.iso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFE9geh54mK4HB3H/MRAjgZAJ0TG7beDPcKrV2bfIE7ltVF5pw5UACfcqpF
TbhqrnYXXRba3C8eYDTkWLc=
=zSxK
-----END PGP SIGNATURE-----


---------------------------------------------------
I used the vi command and saved the file. I used the following:

vi mandriva-free-2007-tyr-CD.x86_64.md5.asc.

So the name of the file is ' mandriva-free-2007-tyr-CD.x86_64.md5.asc '

I created or rather placed the file inside the '/usr/local/bin' folder. Because it contains all the gpg stuff.

[root@c83-250-110-112 bin]# vi mandriva-free-2007-tyr-CD.x86_64.md5.asc


[root@c83-250-110-112 bin]# ls
clamav-config*
freshclam*
gpgv*
libassuan-config*
sigtool*

clamdscan*
gpg*
gpg-zip*
mandriva-free-2007-tyr-CD.x86_64.md5.asc

clamscan*
gpgsplit*
hexedit*
pth-config*
[root@c83-250-110-112 bin]#


However, the following import command didn't work.

[root@c83-250-110-112 bin]# gpg --import 'mandriva-free-2007-tyr-CD.x86_64.md5.asc'
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
[root@c83-250-110-112 bin]#

What is the problem?
 
Old 09-03-2006, 02:33 PM   #75
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,908

Rep: Reputation: 173Reputation: 173
Quote:
Originally Posted by Gins
I need help again. I just want to check some files or rather CDs which I downloaded.
They gave me the following key.
----------------------------------------------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

f5143f56d54f73564eb784723c568699 mandriva-free-2007-tyr-CD1.x86_64.iso
ff2953a97718462a5340d14249d0c5e1 mandriva-free-2007-tyr-CD2.x86_64.iso
0c317ccf56445a44f251fd809777fa77 mandriva-free-2007-tyr-CD3.x86_64.iso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFE9geh54mK4HB3H/MRAjgZAJ0TG7beDPcKrV2bfIE7ltVF5pw5UACfcqpF
TbhqrnYXXRba3C8eYDTkWLc=
=zSxK
-----END PGP SIGNATURE-----


---------------------------------------------------
I used the vi command and saved the file. I used the following:

vi mandriva-free-2007-tyr-CD.x86_64.md5.asc.

So the name of the file is ' mandriva-free-2007-tyr-CD.x86_64.md5.asc '

I created or rather placed the file inside the '/usr/local/bin' folder. Because it contains all the gpg stuff.

[root@c83-250-110-112 bin]# vi mandriva-free-2007-tyr-CD.x86_64.md5.asc


[root@c83-250-110-112 bin]# ls
clamav-config*
freshclam*
gpgv*
libassuan-config*
sigtool*

clamdscan*
gpg*
gpg-zip*
mandriva-free-2007-tyr-CD.x86_64.md5.asc

clamscan*
gpgsplit*
hexedit*
pth-config*
[root@c83-250-110-112 bin]#


However, the following import command didn't work.

[root@c83-250-110-112 bin]# gpg --import 'mandriva-free-2007-tyr-CD.x86_64.md5.asc'
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
[root@c83-250-110-112 bin]#

What is the problem?

That would not be getting the Mandriva key on this page is the key you need I think then you need to.

Code:
>$ wget http://qa.mandriva.com/twiki/pub/Main/GpgKeys/main.asc
--16:23:20--  http://qa.mandriva.com/twiki/pub/Main/GpgKeys/main.asc
           => `main.asc'
Resolving qa.mandriva.com... 84.14.106.137
Connecting to qa.mandriva.com|84.14.106.137|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,430 (1.4K) [text/plain]

100%[=======================================>] 1,430         --.--K/s

16:23:21 (220.20 KB/s) - `main.asc' saved [1430/1430]


>$ gpg --import main.asc
gpg: key 70771FF3: public key "Mandrake Linux <mandrake@mandrakesoft.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: 3 marginal(s) needed, 1 complete(s) needed, classic trust model
gpg: depth: 0  valid:   1  signed:   1  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   1  signed:   0  trust: 1-, 0q, 0n, 0m, 0f, 0u
To import then I think that you need to run the gpg --verify command on the mandriva-free-2007-tyr-CD.x86_64.asc file itself (whatever its name) not the signed md5sum file like you tried to import.

Edit: When sending me a message make it in plain text I have no windows to read a .doc file with.

Last edited by HappyTux; 09-03-2006 at 02:46 PM.
 
  


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
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:50 PM.

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