<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Linux: How to Encrypt and decrypt files with a password</title> <atom:link href="http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Naresh Kumar</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-177583</link> <dc:creator>Naresh Kumar</dc:creator> <pubDate>Tue, 27 Dec 2011 12:06:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-177583</guid> <description>Hi,
Is there any difference between .gpg and .pgp files. I have a pgp encrypted file and a key. Can anyone please let me know how to decrypt it through PHP or shell command? Thanks in advance.
Regards,
N Naresh Kumar</description> <content:encoded><![CDATA[<p>Hi,</p><p>Is there any difference between .gpg and .pgp files. I have a pgp encrypted file and a key. Can anyone please let me know how to decrypt it through PHP or shell command? Thanks in advance.</p><p>Regards,<br
/> N Naresh Kumar</p> ]]></content:encoded> </item> <item><title>By: Pavan</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-177101</link> <dc:creator>Pavan</dc:creator> <pubDate>Fri, 16 Dec 2011 09:53:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-177101</guid> <description>Its not working</description> <content:encoded><![CDATA[<p>Its not working</p> ]]></content:encoded> </item> <item><title>By: Cristian</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-176863</link> <dc:creator>Cristian</dc:creator> <pubDate>Mon, 12 Dec 2011 17:50:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-176863</guid> <description>Hi,
You must to use the follow commands:
gpg –batch –yes –passphrase [passphrase] -c [filename]
Bye,</description> <content:encoded><![CDATA[<p>Hi,<br
/> You must to use the follow commands:</p><p>gpg –batch –yes –passphrase [passphrase] -c [filename]</p><p>Bye,</p> ]]></content:encoded> </item> <item><title>By: Cristian</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-176862</link> <dc:creator>Cristian</dc:creator> <pubDate>Mon, 12 Dec 2011 17:49:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-176862</guid> <description>Hi,
You must to use the follow commands:
gpg --batch --yes --passphrase [passphrase] -c [filename]
Bye,</description> <content:encoded><![CDATA[<p>Hi,<br
/> You must to use the follow commands:</p><p> gpg &#8211;batch &#8211;yes &#8211;passphrase [passphrase] -c [filename]</p><p>Bye,</p> ]]></content:encoded> </item> <item><title>By: Pavan</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-175694</link> <dc:creator>Pavan</dc:creator> <pubDate>Wed, 16 Nov 2011 10:52:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-175694</guid> <description>Hi,
I have encryted the file in windows machine but when i trying to dycrypt from linux using gpg filename it is not encrypting .the eror come has
gpg: encrypted with RSA key, ID 83994B4A
gpg: decryption failed: secret key not available
When i am use the command gpg -d also same eroro
Thanks
pavan</description> <content:encoded><![CDATA[<p>Hi,<br
/> I have encryted the file in windows machine but when i trying to dycrypt from linux using gpg filename it is not encrypting .the eror come has</p><p>gpg: encrypted with RSA key, ID 83994B4A<br
/> gpg: decryption failed: secret key not available</p><p>When i am use the command gpg -d also same eroro</p><p>Thanks<br
/> pavan</p> ]]></content:encoded> </item> <item><title>By: Khan Hannan</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-173933</link> <dc:creator>Khan Hannan</dc:creator> <pubDate>Tue, 13 Sep 2011 19:23:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-173933</guid> <description>So I thought this would help, but unfortunately it didn&#039;t.  I&#039;m wondering why.  Also, when I do a &quot;gpg -h&quot;, &quot;--passphrase&quot; doesn&#039;t show up as one of the options.  Is this like a secret option or something?</description> <content:encoded><![CDATA[<p>So I thought this would help, but unfortunately it didn&#8217;t.  I&#8217;m wondering why.  Also, when I do a &#8220;gpg -h&#8221;, &#8220;&#8211;passphrase&#8221; doesn&#8217;t show up as one of the options.  Is this like a secret option or something?</p> ]]></content:encoded> </item> <item><title>By: Khan Hannan</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-173929</link> <dc:creator>Khan Hannan</dc:creator> <pubDate>Tue, 13 Sep 2011 16:50:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-173929</guid> <description>This was a life saver.</description> <content:encoded><![CDATA[<p>This was a life saver.</p> ]]></content:encoded> </item> <item><title>By: sandeep</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-171899</link> <dc:creator>sandeep</dc:creator> <pubDate>Mon, 13 Jun 2011 06:20:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-171899</guid> <description>That&#039;s very interesting. I like it.</description> <content:encoded><![CDATA[<p>That&#8217;s very interesting. I like it.</p> ]]></content:encoded> </item> <item><title>By: Paul</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-170434</link> <dc:creator>Paul</dc:creator> <pubDate>Sat, 02 Apr 2011 01:34:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-170434</guid> <description>For Gnome if you prefer the right click option install &quot;seahorse-plugins&quot; from synaptic or apt-get install, if you&#039;re a KDE user you can install kgpg, both options allow key generating and management alone with right click encrypt options. If you prefer the GUI option that is.</description> <content:encoded><![CDATA[<p>For Gnome if you prefer the right click option install &#8220;seahorse-plugins&#8221; from synaptic or apt-get install, if you&#8217;re a KDE user you can install kgpg, both options allow key generating and management alone with right click encrypt options. If you prefer the GUI option that is.</p> ]]></content:encoded> </item> <item><title>By: Anitha</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-158991</link> <dc:creator>Anitha</dc:creator> <pubDate>Wed, 18 Aug 2010 12:24:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-158991</guid> <description>Hai,...
I want to encrypt squashfs.img(squashfs.img.enc) file in Fedora Live OS. It should be decrypted while booting.. Can anyone knows how to do this?</description> <content:encoded><![CDATA[<p>Hai,&#8230;</p><p> I want to encrypt squashfs.img(squashfs.img.enc) file in Fedora Live OS. It should be decrypted while booting.. Can anyone knows how to do this?</p> ]]></content:encoded> </item> <item><title>By: Muhanad</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-158927</link> <dc:creator>Muhanad</dc:creator> <pubDate>Sun, 15 Aug 2010 00:30:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-158927</guid> <description>Sirs
I need to encrypt folder with it&#039;s content with out need to encrypt all files inside this folder please your help.
your help is highly appreciated
Best Regard</description> <content:encoded><![CDATA[<p>Sirs</p><p>I need to encrypt folder with it&#8217;s content with out need to encrypt all files inside this folder please your help.<br
/> your help is highly appreciated</p><p>Best Regard</p> ]]></content:encoded> </item> <item><title>By: Naresh</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-153539</link> <dc:creator>Naresh</dc:creator> <pubDate>Mon, 15 Feb 2010 14:58:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-153539</guid> <description>Thank u very much</description> <content:encoded><![CDATA[<p>Thank u very much</p> ]]></content:encoded> </item> <item><title>By: john</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-153437</link> <dc:creator>john</dc:creator> <pubDate>Wed, 10 Feb 2010 03:25:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-153437</guid> <description>where would you check if the passphrase is entered correctly or not?  If I want to encrypt a binary file to enter the correct password before someone can run my program, where do I implement the passphrase check?  In the binary file or in my program?</description> <content:encoded><![CDATA[<p>where would you check if the passphrase is entered correctly or not?  If I want to encrypt a binary file to enter the correct password before someone can run my program, where do I implement the passphrase check?  In the binary file or in my program?</p> ]]></content:encoded> </item> <item><title>By: Kris</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-153264</link> <dc:creator>Kris</dc:creator> <pubDate>Mon, 01 Feb 2010 14:01:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-153264</guid> <description>Non interactive encrypt/decrypt:-
Encrypt it...
gpg --yes --passphrase [passphrase] -c [filename]
Decrypt it...
gpg --yes --passphrase [passphrase] [filename]
Piece of pie...</description> <content:encoded><![CDATA[<p>Non interactive encrypt/decrypt:-</p><p>Encrypt it&#8230;<br
/> gpg &#8211;yes &#8211;passphrase [passphrase] -c [filename]</p><p>Decrypt it&#8230;<br
/> gpg &#8211;yes &#8211;passphrase [passphrase] [filename]</p><p>Piece of pie&#8230;</p> ]]></content:encoded> </item> <item><title>By: fffrrr</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-151409</link> <dc:creator>fffrrr</dc:creator> <pubDate>Sun, 01 Nov 2009 15:37:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-151409</guid> <description>A good post nixcraft, but I have a doubt, how linux encrypts? I mean in a navite level, without use particular apps or tools... thx</description> <content:encoded><![CDATA[<p>A good post nixcraft, but I have a doubt, how linux encrypts? I mean in a navite level, without use particular apps or tools&#8230; thx</p> ]]></content:encoded> </item> <item><title>By: sureshkumar</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-151129</link> <dc:creator>sureshkumar</dc:creator> <pubDate>Wed, 21 Oct 2009 10:15:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-151129</guid> <description>It&#039;s very nice stuff ... encryption and decryption in linux and tell me how to set password for each file and folder under linux.</description> <content:encoded><![CDATA[<p>It&#8217;s very nice stuff &#8230; encryption and decryption in linux and tell me how to set password for each file and folder under linux.</p> ]]></content:encoded> </item> <item><title>By: Rishabh Mishra</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-149506</link> <dc:creator>Rishabh Mishra</dc:creator> <pubDate>Wed, 15 Jul 2009 23:30:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-149506</guid> <description>Jay: I think you will need to create a new backup script that decrypts and reads an encrypted file containing the critical information about the files being backed up.
The information about the files will be protected, and the script should still run normally.</description> <content:encoded><![CDATA[<p>Jay: I think you will need to create a new backup script that decrypts and reads an encrypted file containing the critical information about the files being backed up.</p><p>The information about the files will be protected, and the script should still run normally.</p> ]]></content:encoded> </item> <item><title>By: Jay</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-148822</link> <dc:creator>Jay</dc:creator> <pubDate>Thu, 04 Jun 2009 02:09:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-148822</guid> <description>I thought, even if you encrypt a backup script, it will still run as it is.
But it&#039;s not.
I just want to hide the backup script form others because it contains critical information about the files being backed up.</description> <content:encoded><![CDATA[<p>I thought, even if you encrypt a backup script, it will still run as it is.<br
/> But it&#8217;s not.</p><p>I just want to hide the backup script form others because it contains critical information about the files being backed up.</p> ]]></content:encoded> </item> <item><title>By: Cool Leecher</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-148365</link> <dc:creator>Cool Leecher</dc:creator> <pubDate>Wed, 29 Apr 2009 14:05:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-148365</guid> <description>1) Unless the app is aware of the encryption , you cannot encrypt such .conf files.
2) It is possibles to write a script that wraps the process , i.e squid and call the gpg , decrypt the file and then call the squid , reencrypt the file , delete the .conf ...
It is actually bound to how the process calls his conf files ,i.e at the beginning , in the loop ...
3) You can even recompile squid with some crypting lib. and change all calls to read file to be proceeded by a decryption function.
4) No body but the root should have the root pass , other users must be in specific groups that enable them to do some stuff that normally only the root can do and hence avoid giving them the root pass.</description> <content:encoded><![CDATA[<p>1) Unless the app is aware of the encryption , you cannot encrypt such .conf files.<br
/> 2) It is possibles to write a script that wraps the process , i.e squid and call the gpg , decrypt the file and then call the squid , reencrypt the file , delete the .conf &#8230;<br
/> It is actually bound to how the process calls his conf files ,i.e at the beginning , in the loop &#8230;<br
/> 3) You can even recompile squid with some crypting lib. and change all calls to read file to be proceeded by a decryption function.<br
/> 4) No body but the root should have the root pass , other users must be in specific groups that enable them to do some stuff that normally only the root can do and hence avoid giving them the root pass.</p> ]]></content:encoded> </item> <item><title>By: Hassan</title><link>http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-146453</link> <dc:creator>Hassan</dc:creator> <pubDate>Sat, 27 Dec 2008 05:18:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html#comment-146453</guid> <description>thank for help I want to decrypt rar files</description> <content:encoded><![CDATA[<p>thank for help I want to decrypt rar files</p> ]]></content:encoded> </item> </channel> </rss>
