pgp

can't use gpg-agent as an ssh agent

限于喜欢 提交于 2020-02-20 11:38:58
问题 I've been trying to get gpg-agent to work as an ssh agent, but without any luck. I'm running the KDE version of Linux Mint (Sarah). First, I disabled the built-in ssh agent in /etc/X11/Xsession.options: # $Id: Xsession.options 189 2005-06-11 00:04:27Z branden $ # # configuration options for /etc/X11/Xsession # See Xsession.options(5) for an explanation of the available options. allow-failsafe allow-user-resources allow-user-xsession #use-ssh-agent use-session-dbus Then, I enabled the ssh

can't use gpg-agent as an ssh agent

让人想犯罪 __ 提交于 2020-02-20 11:37:07
问题 I've been trying to get gpg-agent to work as an ssh agent, but without any luck. I'm running the KDE version of Linux Mint (Sarah). First, I disabled the built-in ssh agent in /etc/X11/Xsession.options: # $Id: Xsession.options 189 2005-06-11 00:04:27Z branden $ # # configuration options for /etc/X11/Xsession # See Xsession.options(5) for an explanation of the available options. allow-failsafe allow-user-resources allow-user-xsession #use-ssh-agent use-session-dbus Then, I enabled the ssh

BouncyCastle updated pgp key now getting checksum mismatch error

喜欢而已 提交于 2020-02-03 04:15:45
问题 I have a utility that is using the BouncyCastle.Crypto dll (version 1.7.4, runtime version 1.1.4), in order to decrypt a file that is given to it by another system. I just updated the pgp key (and provided the encryptor with the new public key). The new key uses 4096 bit RSA encryption and has a 24 character password, which are the only differences I can think of between the new key and the old key. The old key used I believe 2048 bit encryption with a 7 character password. When I attempt to

Can't check signature: public key not found

孤街醉人 提交于 2020-01-30 14:27:09
问题 I try to decrypt file using following command: gpg --output file.txt --decrypt file.pgp File is decrypted successfully but i get an error: "gpg: Can't check signature: public key not found" Any idea, why I get this error? 回答1: You get that error because you don't have the public key of the person who signed the message. gpg should have given you a message containing the ID of the key that was used to sign it. Obtain the public key from the person who encrypted the file and import it into your

PGP Encrypt and Decrypt

送分小仙女□ 提交于 2020-01-19 23:23:29
问题 I am really struggling with this, I need to encrypt and decrypt a string using BouncyCastle in C#. I really did try to do this on my own. I did manage to create my own keys (private and public). Please keep in mind that I am fresh out of college. 回答1: It took me a while to find a decent example of using bouncy castle for PGP. This is what I use in production. I'm pretty sure it originated from here. using System; using System.IO; using Org.BouncyCastle.Bcpg; using Org.BouncyCastle.Bcpg

download a pgp key automaticly

本秂侑毒 提交于 2020-01-15 12:14:17
问题 I want to download a pgp key from a keyserver automaticly using gpg like this: gpg --searchkey carol@example.com gpg is giving me this result. gpg: searching for "carol@example.com" from hkp server pool.sks-keyservers.net (1) <carol@example.com> 2048 bit RSA key 2F5E71CD, created: 2015-02-17 Keys 1-1 of 1 for "carol@example.com". Enter number(s), N)ext, or Q)uit > If I want to add this key to my keyring I need to press "1" and ENTER. My Question is: Is there a way to insert automatically

How to verify this PGP message in C# using Bouncy Castle or other c# library

倖福魔咒の 提交于 2020-01-13 04:54:05
问题 All i need to do is verify the message below but I can not get Bouncy Castle to take the data in and given the public key verify the message. I am happy for it to be some other Lib that is used if it is free. This is to be embedded in my app that receives data over the Internet so i would prefer to keep it all managed code if at all possible. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 SCI Version: 1.0 SCI Code: 1 SCI Reason: OK SCI Balance: 0.00050000 -----BEGIN PGP SIGNATURE----- Version:

How to encrypt data in php using Public/Private keys?

核能气质少年 提交于 2020-01-11 15:30:53
问题 I have a small string of some data (less than 1kb) that I would like to have user agents pass to other sites when they are sent from my site. In order for the other sites to verify that I was the one that created the string I though of two options. The server pings me back to confirm (like paypal, openid, etc..) I use public/private keys to prove I sent the message (like PGP, DKIM, etc..) I don't want to setup HMAC because that would mean I have to use custom keys for each site which would be

What is the difference b/w .pkr and .key file with respect to PGP?

本小妞迷上赌 提交于 2020-01-05 09:08:43
问题 I am working on PGP encryption/decryption using 'bouncycastle'. Do encrypt I understand that i need a public key. I have a text file which is supposed to be the public key. Should this be rename as .pkr or .key file? What different the 2 extentions represent? Does 'bouncycastle' api support both extention for decrypting? Also, for decryption which file do i need, .skr or .key file? 回答1: No difference - these are just file extensions. .pkr extension stands for "public key ring", while .skr

What is the difference b/w .pkr and .key file with respect to PGP?

大兔子大兔子 提交于 2020-01-05 09:07:33
问题 I am working on PGP encryption/decryption using 'bouncycastle'. Do encrypt I understand that i need a public key. I have a text file which is supposed to be the public key. Should this be rename as .pkr or .key file? What different the 2 extentions represent? Does 'bouncycastle' api support both extention for decrypting? Also, for decryption which file do i need, .skr or .key file? 回答1: No difference - these are just file extensions. .pkr extension stands for "public key ring", while .skr