gnupg

GnuPG + Webservice + ASP.NET

泪湿孤枕 提交于 2021-02-11 17:37:23
问题 I'm exhausted. I have installed GnuPG and exported secret key, and two public keys (my own and one of my client) from another instance of GnuPG. I try to configure 'my encrypting/decrypting' method on the local machine. When I run encrypting method from a little console application it works good. When I run this (same! - with the same body) method from my webservice on my local machine ... I have an ExitCode = 2. Happy in fact of catching the error message, but unhappy with their body. "gpg:

GnuPG + Webservice + ASP.NET

浪子不回头ぞ 提交于 2021-02-11 17:37:21
问题 I'm exhausted. I have installed GnuPG and exported secret key, and two public keys (my own and one of my client) from another instance of GnuPG. I try to configure 'my encrypting/decrypting' method on the local machine. When I run encrypting method from a little console application it works good. When I run this (same! - with the same body) method from my webservice on my local machine ... I have an ExitCode = 2. Happy in fact of catching the error message, but unhappy with their body. "gpg:

Create pgp file with gpg from command line

非 Y 不嫁゛ 提交于 2021-02-08 15:14:47
问题 I want to encrypt an xml file and I am using gpg4win (kleopatra). Using the kleopatra interface I set an option to produce files with extension pgp instead of gpg which is the default extension. I am trying to create a pgp file from command line using the command gpg -r test@test.gr -se C:\temp\myfile.xml because I need to submit it in a web app that accepts pgp only. I have tried to put some other options in the command but I always get a gpg file. How can I produce a pgp file from command

Create pgp file with gpg from command line

六月ゝ 毕业季﹏ 提交于 2021-02-08 15:10:36
问题 I want to encrypt an xml file and I am using gpg4win (kleopatra). Using the kleopatra interface I set an option to produce files with extension pgp instead of gpg which is the default extension. I am trying to create a pgp file from command line using the command gpg -r test@test.gr -se C:\temp\myfile.xml because I need to submit it in a web app that accepts pgp only. I have tried to put some other options in the command but I always get a gpg file. How can I produce a pgp file from command

gnupg decrypt command with php with passphrase

耗尽温柔 提交于 2021-02-08 08:23:48
问题 Im using Gnupg to decrypt a file: gpg --decrypt -o file.xml file.gpg You need a passphrase to unlock the secret key for user: "TEST-COMPANY (DAM Key) <test@test.de>" 4096-bit RSA key, ID 257C2D21, created 2018-04-23 Enter passphrase: Then I write this passphrase and then works. And now I want to make it automatic using this command on PHP: $command = 'gpg --decrypt -o file.xml file.gpg' exec($command); The problem came when system ask for phassphrase. I tried this: $command = 'gpg --decrypt

How to add a gpg subkey to GitLab

白昼怎懂夜的黑 提交于 2021-02-08 03:06:48
问题 GitLab 9.5.0 adds support for checking the gpg signature of commits and display the verification status next to the commit hash (release note). This version, however, does not verify commits signed using subkeys (gitlab issue, support is planned). Is it possible to export the subkeys in gpg and convert them into primary keys, such that these primary keys can be added to GitLab? 回答1: EDIT Oct 2017 Since version 10.1 GitLab has native support for subkeys. You can simply add the full public key.

How to add a gpg subkey to GitLab

本小妞迷上赌 提交于 2021-02-08 03:00:16
问题 GitLab 9.5.0 adds support for checking the gpg signature of commits and display the verification status next to the commit hash (release note). This version, however, does not verify commits signed using subkeys (gitlab issue, support is planned). Is it possible to export the subkeys in gpg and convert them into primary keys, such that these primary keys can be added to GitLab? 回答1: EDIT Oct 2017 Since version 10.1 GitLab has native support for subkeys. You can simply add the full public key.

gpg: keyserver receive failed: No route to host stack overflow

左心房为你撑大大i 提交于 2021-02-07 13:20:03
问题 i'm trying to install fastlane for my ios app but when i'm trying to install RVM, i'm facing issues. My command is gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113************* 7D2BAF1CF37B13E2069D69561************* 回答1: Please use hkp://ipv4.pool.sks-keyservers.net instead of hkp://keys.gnupg.net type this command gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113************* 7D2BAF1CF37B13E2069D69561************* 回答2: TL;DR;

gpg: keyserver receive failed: No route to host stack overflow

六月ゝ 毕业季﹏ 提交于 2021-02-07 13:18:40
问题 i'm trying to install fastlane for my ios app but when i'm trying to install RVM, i'm facing issues. My command is gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113************* 7D2BAF1CF37B13E2069D69561************* 回答1: Please use hkp://ipv4.pool.sks-keyservers.net instead of hkp://keys.gnupg.net type this command gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113************* 7D2BAF1CF37B13E2069D69561************* 回答2: TL;DR;

gpg: keyserver receive failed: No route to host stack overflow

陌路散爱 提交于 2021-02-07 13:18:38
问题 i'm trying to install fastlane for my ios app but when i'm trying to install RVM, i'm facing issues. My command is gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113************* 7D2BAF1CF37B13E2069D69561************* 回答1: Please use hkp://ipv4.pool.sks-keyservers.net instead of hkp://keys.gnupg.net type this command gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113************* 7D2BAF1CF37B13E2069D69561************* 回答2: TL;DR;