Re: Using two OpenPGP cards

2021-10-29 Thread Jacob Bachmeyer via Gnupg-users
Matthias Apitz wrote: The question here is: Can I somehow transfer the keys from the used OpenPGP card to this new card (and copy over the tree of encrypted passwords to the phone) or do I have to move the passwords in clear and crypt them again with the new card? If I understand correctly that

Re: What are the file in ~/.gnupg ?

2021-10-29 Thread Jacob Bachmeyer via Gnupg-users
Damien Goutte-Gattat via Gnupg-users wrote: On Fri, Oct 29, 2021 at 04:04:11PM +0200, Romain LT via Gnupg-users wrote: [...] private-keys-v1.d/ folder with private keys files, named afte key or subkey keygrip Is there only the private key part of my own keys in this ? or is there a way to obtai

Re: What are the file in ~/.gnupg ?

2021-10-29 Thread Damien Goutte-Gattat via Gnupg-users
Hi, On Fri, Oct 29, 2021 at 04:04:11PM +0200, Romain LT via Gnupg-users wrote: dirmngr.conf : configuration for dirmngr (keyserver access) Dirmngr is also used for fetching the Certificate Revocation Lists (CRLs), if you’re using GpgSM (the X.509/SMIME part of GnuPG). crls.d/DIR.t

Re: Using two OpenPGP cards

2021-10-29 Thread Romain LT via Gnupg-users
Hmm yes it's pass init ^^' I miss read the man page which was wrongly display in my android screen Thx On October 30, 2021 12:09:16 AM GMT+02:00, Christian Chavez wrote: >On Fri, Oct 29, 2021 at 11:46 PM Romain LT via Gnupg-users < >gnupg-users@gnupg.org> wrote: > >> If you can get the 2 keys

What are the file in ~/.gnupg ?

2021-10-29 Thread Romain LT via Gnupg-users
Hi, I'm sorry for this beginner question but I could not find answers on the web nor the manpage nor the doc of gpg, even though it is a quite general question : What are the files in gnupg homedir ? I could not find a complete listing so I'm writing what I know and do not know here. If you know

Re: Using two OpenPGP cards

2021-10-29 Thread Christian Chavez via Gnupg-users
On Fri, Oct 29, 2021 at 11:46 PM Romain LT via Gnupg-users < gnupg-users@gnupg.org> wrote: > If you can get the 2 keys on your PC or the 2 keys on your phone you can > add your new key or even replace the old with the new one by running 'pass > Id ...' > Never heard of the `pass id` command, maybe

Re: Using two OpenPGP cards

2021-10-29 Thread Romain LT via Gnupg-users
Hi, I'm not sure to grasp the entirety of the problematic but I though that should be mention : From 'man pass' : ``` id... Initialize new password storage and use gpg-id for encryption. Multiple gpg-ids may be specified, in order to encrypt each password with multiple

Re: Using two OpenPGP cards

2021-10-29 Thread Christian Chavez via Gnupg-users
On Fri, Oct 29, 2021 at 10:15 PM Matthias Apitz wrote: > The question here is: Can I somehow transfer the keys from the used > OpenPGP card to this new card (and copy over the tree of encrypted > passwords to the phone) or do I have to move the passwords in clear and > crypt them again with the n

Using two OpenPGP cards

2021-10-29 Thread Matthias Apitz
Hello, For some years I do use an OpenPGP card with GnuPG to encrypt all my passwords (and other secrets). The passwors are managed with password-store which is basically a tree of passwords along the web sites where they're required to login. I got now a mobile phone device, running Debian, the

Re: Unable to decrypt file copied from USB thumb drive.

2021-10-29 Thread Shawn K. Quinn via Gnupg-users
On 10/29/21 07:30, Chris Taylor wrote: > Thank you - I will check. > > Almost certainly the hash of my .gpg file will be different after it has > passed through the Thumb Drive.  However, no other files on the Thumb > Drive get corrupted.  So, my question will probably become how can I > protect m

Re: Unable to decrypt file copied from USB thumb drive.

2021-10-29 Thread ಚಿರಾಗ್ ನಟರಾಜ್ via Gnupg-users
12021/07/21 01:78.66 ನಲ್ಲಿ, Chris Taylor ಬರೆದರು: > Hello Group, > > I am developing a backup process for personal files, on USB thumb > drive.  I tar and zip my files (30GB) then encrypt them with: > > gpg --no-symkey-cache --symmetric --cipher-algo AES256 my-backup.tar.gz > > I copy my-backup

Too many open files caused by repeated decryption operations via a GPGME API

2021-10-29 Thread Kazunori Kobayashi
Hi, On modern Linux, we can change the maximum number of file descriptors per process in some ways. This feature is a well-known way for long time operation without reboot in cases such as server machines. When I tried many iteration test of decryption via gpgme_op_decrypt() with the maximum

Re: Unable to decrypt file copied from USB thumb drive.

2021-10-29 Thread Chris Taylor
Thank you - I will check. Almost certainly the hash of my .gpg file will be different after it has passed through the Thumb Drive.  However, no other files on the Thumb Drive get corrupted.  So, my question will probably become how can I protect my .gpg file when it is moved off my laptop onto

Re: Unable to decrypt file copied from USB thumb drive.

2021-10-29 Thread Dirk-Willem van Gulik
On 29 Oct 2021, at 10:17, Chris Taylor wrote: > I am developing a backup process for personal files, on USB thumb drive. I > tar and zip my files (30GB) then encrypt them with: > > gpg --no-symkey-cache --symmetric --cipher-algo AES256 my-backup.tar.gz > > I copy my-backup.tar.gz.gpg to my USB

Unable to decrypt file copied from USB thumb drive.

2021-10-29 Thread Chris Taylor
Hello Group, I am developing a backup process for personal files, on USB thumb drive.  I tar and zip my files (30GB) then encrypt them with: gpg --no-symkey-cache --symmetric --cipher-algo AES256 my-backup.tar.gz I copy my-backup.tar.gz.gpg to my USB thumb drive.  I am using Ubuntu so the US