草庐IT

openssl_sign

全部标签

git - SSL证书: self signed certificate when cloning repo from github?如何解决

我刚刚安装了gitforwindows并尝试像这样克隆glew的repo$gitclonehttps://github.com/nigels-com/glew.git但是我得到了以下错误Cloninginto'glew'...fatal:unabletoaccess'https://github.com/nigels-com/glew.git/':SSLcertificateproblem:selfsignedcertificate我见过有人遇到过这个问题和一些可能的解决方法。先试试$git-chttp.sslVerify=falseclonehttps://github.com/ni

git - SSL证书: self signed certificate when cloning repo from github?如何解决

我刚刚安装了gitforwindows并尝试像这样克隆glew的repo$gitclonehttps://github.com/nigels-com/glew.git但是我得到了以下错误Cloninginto'glew'...fatal:unabletoaccess'https://github.com/nigels-com/glew.git/':SSLcertificateproblem:selfsignedcertificate我见过有人遇到过这个问题和一些可能的解决方法。先试试$git-chttp.sslVerify=falseclonehttps://github.com/ni

openssl安装,openssl生成私钥以及openssl生成证书

openssl安装首先安装perl工具,下载地址:Download&InstallPerl-ActiveStateDownloadPerl5.32and5.28fromActiveState&getprecompiledPerldistribution.ActiveStatePerlisfreetodownload.https://www.activestate.com/activeperl/downloads我下载了这个版本(安装过程下一步下一步即可)我安装在C:\Perl64然后下载openssl:/source/index.htmlhttps://www.openssl.org/sour

OpenSSL安装使用(二):OpenSSL安装说明

注:该方法适用于Openssl1.1.1及以上版本1)安装环境:Windows10专业版+VS2010相关软件下载地址:1)ActivePerl:Download&InstallPerl-ActiveState2)openssl:/source/index.html2)安装Perl安装perl之前可以现在命令提示符中输入perl-version指令测试是否之前已经安装过perl。如果显示下图信息说明Perl安装成功,请直接进入下一步。  安装ActivePerl软件根据提示一步一步进行安装即可,安装过程软件会自动设置环境变量。要确认是否安装成功,我们可以利用cmd命令行的形式输入指令进入到安装

git add Signed-off-by line using format.signoff 不起作用

我的客户端git版本是1.7.0.4。我想在提交消息时在提交日志消息的末尾自动为提交者添加一行“Signed-off-by”。当我设置gitconfig--globalformat.signofftrue并运行gitcommit-m"modifysomething"时,我没有看到“Signed-off-by"在gitlog中。如果我使用gitcommit-m-s"modifysomething",则gitlog中会显示“Signed-off-by”。有人能帮忙吗? 最佳答案 现在有一种简单的方法可以通过使用Hook和git-inte

git add Signed-off-by line using format.signoff 不起作用

我的客户端git版本是1.7.0.4。我想在提交消息时在提交日志消息的末尾自动为提交者添加一行“Signed-off-by”。当我设置gitconfig--globalformat.signofftrue并运行gitcommit-m"modifysomething"时,我没有看到“Signed-off-by"在gitlog中。如果我使用gitcommit-m-s"modifysomething",则gitlog中会显示“Signed-off-by”。有人能帮忙吗? 最佳答案 现在有一种简单的方法可以通过使用Hook和git-inte

git - 当你 `git commit --gpg-sign=<key-id>` 时正在签署什么数据?

我试图弄清楚如何手动签署/验证提交,但我无法弄清楚要签署哪些数据来创建签名。换句话说,我不知道是什么在gpg--verify需要。这是git源代码的相关部分:https://github.com/git/git/blob/master/commit.c#L1047-L1231但我也是C的新手。这是一些示例数据:在一个新的git仓库中,我创建了一个文件ledger.txt并通过签名提交提交:gitconfig--globaluser.signingkey7E482429gitinitecho"EAC5-531F-38E8-9670-81AE-4E77-C7AA-5FC3-7E48-242

git - 当你 `git commit --gpg-sign=<key-id>` 时正在签署什么数据?

我试图弄清楚如何手动签署/验证提交,但我无法弄清楚要签署哪些数据来创建签名。换句话说,我不知道是什么在gpg--verify需要。这是git源代码的相关部分:https://github.com/git/git/blob/master/commit.c#L1047-L1231但我也是C的新手。这是一些示例数据:在一个新的git仓库中,我创建了一个文件ledger.txt并通过签名提交提交:gitconfig--globaluser.signingkey7E482429gitinitecho"EAC5-531F-38E8-9670-81AE-4E77-C7AA-5FC3-7E48-242

git-mac os x : error: gpg failed to sign the data 上的 gpg

我从brew安装了GPG。brewinstallgpg它是gnupg2-2.0.30_2。当我提交时,我确实收到一条错误消息:Youneedapassphrasetounlockthesecretkeyforuser:"MaxMustermann(mycomment)"2048-bitRSAkey,ID1111AAAA,created2017-01-05error:gpgfailedtosignthedatafatal:failedtowritecommitobject我使用了命令:gpg--list-secret-keys|grep^sec它给了我返回:sec2048R/1111AA

git-mac os x : error: gpg failed to sign the data 上的 gpg

我从brew安装了GPG。brewinstallgpg它是gnupg2-2.0.30_2。当我提交时,我确实收到一条错误消息:Youneedapassphrasetounlockthesecretkeyforuser:"MaxMustermann(mycomment)"2048-bitRSAkey,ID1111AAAA,created2017-01-05error:gpgfailedtosignthedatafatal:failedtowritecommitobject我使用了命令:gpg--list-secret-keys|grep^sec它给了我返回:sec2048R/1111AA