-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set -e causes silent death in _user_required() when gpg has non-fatal error #169
Comments
This is similar to #136. Is it possible the 'keybox' was created by a different version of gpg? |
They are indeed different. Nevertheless, |
@notjames I don't think two versions of GPG are mentioned in your bug report above, so the bug report might be a little misleading. Not wanting a silent abort is reasonable, though. |
@joshrabinowitz that's fair. To be honest, I just didn't think about it. I work between Darwin and my Linux VM. My VM is the machine I work on the most (I hate Darwin). Since we started using That said, I'm pretty sure my use case is not a silo. Anyway, I appreciate your pointing it out, though, and my apologies. I fixed the original BR. :) |
@notjames see my latest comment on issue 136 - #136 (comment) |
I believe the latest git-secret will no longer cause a silent abort in this scenario (instead, it will give an error message). #136 is still open and this issue is specifically about the 'silent abort'. |
I use two different systems for this repo. One on Darwin; the other in Linux. This problem is happening on my Linux side, though admittedly, I have had to switch to using the Darwin side because sadly, the original git-secret worked on Mac and not Linux. Now I'm trying to transition to using my Linux repo as I prefer to stay as far away from Mac as possible.
What are the steps to reproduce this issue?
gpg: skipped packet of type 12 in keybox
git-secret reveal
, git-secret silently diesWhat happens?
Nothing except
gpg: skipped packet of type 12 in keybox
multiple times to STDOUT.What were you expecting to happen?
Some kind of error from git-secret except that the error from
gpg
above is non-fatal.Any other comments?
A workaround I've implemented, though not ideal, is the following lines:
What versions of software are you using?
Linux VM:
Operating system: (
uname -a
) Ubuntu 17.10git-secret
path: (which git-secret
) /usr/bin/git-secretgit-secret
version: (git secret --version
) 0.2.3git
version: (git --version
) git version 2.16.2Shell type and version: (
$SHELL --version
) bash 4.4.12(1)-releasegpg
version: (gpg --version
)gpg (GnuPG) 2.1.15
libgcrypt 1.7.8
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /home/<me>/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
Darwin:
Operating system: (
uname -a
) Darwin 16.7.0 (MacOS Sierra 10.12.6)git-secret
path: (which git-secret
) /usr/local/bin/git-secretgit-secret
version: (git secret --version
) 0.2.3git
version: (git --version
) git version 2.14.3 (Apple Git-98)Shell type and version: (
$SHELL --version
) bash 3.2.57(1)-releasegpg
version: (gpg --version
)gpg (GnuPG) 2.2.6
libgcrypt 1.8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /Users/<me>/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
The text was updated successfully, but these errors were encountered: