Questions tagged [gost3410]

GOST 34.10 is a family of the Russian Federal standards for digital signature algorithm which use elliptic curve cryptography.

26 questions
1
vote
1 answer

php, openssl and GOST

I'm trying to sign an S/MIME with PHP, using a pair of GOST-encrypted certificate and a private key. When using openssl itself from a console everything is fine: /usr/local/openssl/bin/openssl cms -sign -in file.txt -out signedfile.txt -signer…
drookie
  • 179
  • 3
  • 11
0
votes
0 answers

digital signature using the pygost lib

I want to sign strings using GOST 2001. Unfortunately, I found only one library which implements this old algorithm - pygost. I want to get exactly the same result as if I had executed the command: openssl dgst -engine gost -sign /tmp/private.pem…
0
votes
1 answer

GOST support. OpenSSL, xmlsec

Im writing xml signing utility using C++ to run on Linux (only). And I need support of GOST, GOST2012. I'm using xmlSecOpenSSLKeyDataGost2001Id, xmlSecOpenSSLKeyDataGostR3410_2012_256Id, xmlSecOpenSSLKeyDataGostR3410_2012_512Id in…
Nem
  • 336
  • 3
  • 8
  • 22
0
votes
0 answers

Cannot extract a private key from .p12

I need to extract a private key from .p12 file encrypted using GOST algorithms, I'm using the command below: openssl pkcs12 -engine gost -in GOSTKCNA_file.p12 -nodes -nocerts I have already set up several environments (using docker) with different…
Ersain
  • 1,466
  • 1
  • 9
  • 20
0
votes
1 answer

IText 7 Unknown key algorithm: ECGOST3410

I'm trying to digitally sign pdf document on android (api 26) using IText 7('com.itextpdf:itext7-core:7.1.17') with the GOST3410 algorithm. BouncyCastle libraries: 'org.bouncycastle:bcprov-jdk15on:1.54' and 'org.bouncycastle:bcpkix-jdk15on:1.54'…
0
votes
0 answers

https connection using GOST 2012 (ГОСТ Р 34.10-2012) with Python 2.7.15+:

I have OpenSSL 1.1.1 with "Reference implementation of GOST engine" installed on Linux Mint. I try to connect https-server using python-requests: import requests api = 'https://api.stage.mdlp.crtp.ru' hdr = {'Content-Type':…
mic
  • 11
  • 1
0
votes
0 answers

Is it possible to import "GostR3410" standard certificate file into JKS and get Private key using keytool or bouncycastle package with java?

Is it possible to get a private key from certificate which issued with "GostR3410-2001-CryptoPro-A" standard and by an external cryptographic service provider to generate a digital signature with "ECGOST3410" algorithm? I already have that type of…
dush88c
  • 1,918
  • 1
  • 27
  • 34
0
votes
1 answer

How to decrypt message gost2001

How to decrypt message: algorithm="urn:ietf:params:xml:ns:cpxmlsec:algorithms:transport-gost2001 ? File…
0
votes
1 answer

can't verify pdf signatures. itext, pdf, GOST3410

I'am trying to verify signatures in pdf file. There are three of them. I have signed that file with the code i've found in internet and adopted to my needs, so it might be encorrect too. Here is that signed file pdf file Verifier code here: package…
Pavel
  • 53
  • 8
0
votes
1 answer

How to enable GOST ciphers in Java client

I want to make an SSL connection to some web servers using Java client while using GOST ciphers in my client cipher list. I tried to check the enabled and supported ciphersuites in Java using: getEnabledCipherSuites() and getSupportedCipherSuites()…
user2192774
  • 3,807
  • 17
  • 47
  • 62
-1
votes
2 answers

Add GOST3411 digest algorithm to Adobe Reader

I was able to sign a pdf file using GOST3411 digest and ECGOST3410 signature algorithm. Now, I want Adobe Reader to read the signature, but it says that there is no digest algorithm or digest is unknown. Whatever, the reader could not decrypt…
Big Sam
  • 29
  • 8
1
2