gpgdir | Recursive directory encryption with GnuPG | Encryption library
kandi X-RAY | gpgdir Summary
kandi X-RAY | gpgdir Summary
gpgdir is a perl script that uses the CPAN GnuPG::Interface perl module to recursively encrypt and decrypt directories using gpg. gpgdir recursively descends through a directory in order to encrypt, decrypt, sign, or verify every file in a directory and all of its subdirectories. By default, the mtime and atime values of all files will be preserved upon encryption and decryption (this can be disabled with the --no-preserve-times option). Note that in --encrypt mode, gpgdir will delete the original files that it successfully encrypts (unless the --no-delete option is given). However, upon startup gpgdir first asks for a the decryption password to be sure that a dummy file can suc‐ cessfully be encrypted and decrypted. The initial test can be disabled with the --skip-test option so that a directory can easily be encrypted without having to also specify a password (this is con‐ sistent with gpg behavior). Also, note that gpgdir is careful not encrypt hidden files and directo‐ ries. After all, you probably don't want your ~/.gnupg directory or ~/.bashrc file to be encrypted. The GnuPG key gpgdir uses to encrypt/decrypt a directory is specified in ~/.gpgdirrc. Also, gpgdir can use the wipe program with the --Wipe command line option to securely delete the original unen‐ crypted files after they have been successfully encrypted. This elevates the security stance of gpgdir since it is more difficult to recover the unencrypted data associated with files from the filesystem after they are encrypted (unlink() does not erase data blocks even though a file is removed). Note that gpgdir is not designed to be a replacement for an encrypted filesystem solution like encfs or ecryptfs. Rather, it is an alternative that allows one to take advantage of the cryptographic properties offered by GnuPG in a recursive manner across an existing filesystem.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gpgdir
gpgdir Key Features
gpgdir Examples and Code Snippets
Community Discussions
Trending Discussions on gpgdir
QUESTION
TLDR:
XferCommand = echo Downloading %u ... && /usr/bin/aria2c --conf-path=/etc/pacman-aria2.conf %u
in pacman.conf outputs
Downloading https://mirror.23media.com/manjaro/stable/core/x86_64/core.db ... && /usr/bin/aria2c --conf-path=/etc/pacman-aria2.conf https://mirror.23media.com/manjaro/stable/core/x86_64/core.db
and the second aria2 command is never executed - pacman.conf and pacman-aria2.conf at the bottom, long version below the TLDR
Introduction:
What I'm trying to achieve is using an external downloader with pacman that states what its currently downloading without filling the terminal output with unneccesary info.
Because of strange downloading speed problems with pacman I tried to use what the wiki recommended: Using the XferCommand in /etc/pacman.conf to use aria2 as a downloader. Since the wiki linked to this (https://bbs.archlinux.org/viewtopic.php?id=192072) article I used the following command in /etc/pacman.conf to use aria2
XferCommand = echo Downloading %u ... && /usr/bin/aria2c --conf-path=/etc/pacman-aria2.conf %u
you can find the full pacman.conf at the bottom as well as the pacman-aria2.conf.
Executed in the terminal (and %u changed to something else) this command works. Sadly when executed in pacman.conf the echo just prints out the whole line, including the "&&" and so on. Full output of pacman -Syy
is
ANSWER
Answered 2020-Mar-25 at 23:50As per https://git.archlinux.org/pacman.git/commit/?id=808a4f15ce82d2ed7eeb06de73d0f313620558ee pacman no longer invokes the XferCommand via a shell, so shell syntax does not work.
You were on the right track with your idea to use a separate script:
QUESTION
I am having troubles when trying to upgrade my Portable Msys2 under Win 10 with pacman -Syuu
, as detailed below.
I did this before with no problem.
What could the problem and solution be?
...ANSWER
Answered 2019-Apr-13 at 15:04You can disable the timeout of pacman with the parameter --disable-download-timeout
. Then you should be able to download
http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-qt5-5.12.1-5-any.pkg.tar.xz
It's described on the man-page for pacman.
Also --gpgdir
to Specify a directory of files used by GnuPG to verify package signatures might be useful.
Additional you can consider using the parameter --noconfirm
to bypass any and all “Are you sure?” messages.
About the certificates I'm not sure, perhaps the local paths are not configured correctly. Nevertheless you've two domains, that still serve by http
.
In browser the download works btw. it just has finished, the screenshot is still showing the download in progress:
QUESTION
I want to keep in the yum ecosystem so I can more easily catch updates, so wanted to install a later version of tomcat to my CentOS 6.9 machine. But of course CentOS 6.9 does not give you any tomcat beyond tomcat6 via yum:
...ANSWER
Answered 2019-Feb-28 at 18:41for me the recommended and safest way is to install the version you want manually. We had to deal with the same thing in production (rhel6 and rhel7) and we made the decision to download official tomcat version and to package it as rpm with all the necessary (tomcat user and group creation and systemd init script) you do this once and that's all. I can send you a example rpm build script and spec file.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gpgdir
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page