![]() You may choose to use key based encryption, password based encryption or a combination of both. Now that we have reviewed creating an archive with tar, let’s look at how we can create an encrypted archive by adding gpg to the mix. The -x flag is used to extract the archive, -v is for verbose extracting, and -z is to decompress the archive. ![]() In order to decompress and extract this archive later you would enter the following command. The -c flag is used to create the archive, -v is used for verbose output so that we have visual feedback which lets us know this is happening and -z is used to compress the archive so that the life size is smaller. a quick dirty method for copying these archives over a network by adding netcat to the pipeline.to create multiple individual encrypted archives of directories.to create encrypted compressed archives by using tar with gpg in a pipeline.to create compressed archives using tar. ![]() Gpg is a very versatile cryptographic tool which allows you to encrypt files, encrypt e-mail, and verify the integrity of signed files. In the above scenarios that we mentioned it is often desirable to have encryption in order to secure your data. These tarballs are pretty much the standard go-to format for archives on GNU/Linux, however they are not encrypted. Tar.gz files, or compressed tarballs, are created using the tar command. ![]() Another possible scenario is that you may want to privately share content with a friend or colleague over the web or through cloud storage. You may want to create an encrypted backup of your personal files. There are many reasons why you may want to create compressed encrypted file archives. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |