Hi all,
Yesterday, I wanted to change the way I made backups of my server/data and would encrypt it. So I chose GPG because I would like to use this technology for my mail, so I've already have a key.
But first, here the scene:
But when I want to encrypt a file, I've just "Abort" and
in dmesg.
Here's my command:
Same with another user than root, and with GPG root key.
But encrypt with command -ca works:
So, I really really don't know why it won't encrypt. I made my GPG key twice, rechecked everything, recompiled with different options, encrypted with all trust levels, searched on the Internet but no answer ever.
Please, can you help me?
Yesterday, I wanted to change the way I made backups of my server/data and would encrypt it. So I chose GPG because I would like to use this technology for my mail, so I've already have a key.
But first, here the scene:
Code:
root@WebBSD:~ # uname -a
FreeBSD WebBSD 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root@WebBSD:~ # gpg --version
gpg (GnuPG) 2.0.26
libgcrypt 1.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://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: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
root@WebBSD:~ # gpg -k
/root/.gnupg/pubring.gpg
------------------------
pub 2048R/C81E7C1B 2014-12-06
uid [ultimate] WebBSD <xxx@xxx.xx>
sub 2048R/93A1637C 2014-12-06
pub 2048R/6349E5E0 2014-12-06
uid [ultimate] Me <xxx@xxx.xx>
root@WebBSD:~ # gpg -edit-key 6349E5E0 then list
pub 2048R/6349E5E0 created: 2014-12-06 expires: never usage: SCE
trust: ultimate validity: ultimate
[ultimate] (1). Me <xxx@xxx.xx>
Code:
pid 60311 (gpg2), uid 0: exited on signal 6
Here's my command:
Code:
root@WebBSD:~ # gpg -e -r 6349E5E0 test.test
Abort
root@WebBSD:~ # gpg -e -vr 6349E5E0 test.test
gpg: using classic trust model
gpg: This key belongs to us
gpg: reading from `test.test'
gpg: writing to `test.test.gpg'
Abort
But encrypt with command -ca works:
Code:
root@WebBSD:~ # gpg -ca
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2
jA0EAwMCgIsgwLU7tSFgySbzE/rabLkQCf30UvcgOKlptCTQHpLAEH0Qik7SNn8X
5GTrPZUVTw==
=zuoY
-----END PGP MESSAGE-----
Please, can you help me?