Questions tagged [ecdsa]

In cryptography, the Elliptic Curve Digital Signature Algorithm offers a variant of the Digital Signature Algorithm which uses elliptic curve cryptography.

Elliptic Curve Digital Signature is a variant of algorithms. It allows in some cases a smaller public key (for instance, 160 bit in ecdsa compared to 1024 bit in dsa for 80 but security level), and requires the two sides to agree on a curve's field and equation, as well as a prime order on the curve and a multiplicative of the order.

Wikipedia description of Elliptic Curve Digital Signature

700 questions
0
votes
1 answer

How do I check if a server is using an ECDSA fingerprint in SSH otherwise quit?

How do I make my expect script check if a server is using an ECDSA key and if it is continue with the script otherwise if it's something like RSA quit immediately? #!/usr/bin/expect #Usage sshsudologin.expect set…
Tom
  • 13
  • 3
0
votes
1 answer

Create keys with python and use it in .net

I try to create keys with the python package ecdsa, export it to der and use them with BouncyCastle under .Net (and vice versa). This is my code in Python: import base64 from ecdsa.keys import SigningKey from ecdsa.curves import NIST521p, NIST384p,…
habakuk
  • 2,712
  • 2
  • 28
  • 47
0
votes
0 answers

Using ECDSA instead of RSA for encrypting and decrypting integer

I want to use ECDSA instead of RSA for encrypting and decrypting integer number. Ususally ECDSA is used for digital signature. But it's possible to transform algorthm of digital signature: use signature generation for decryption, signature…
0
votes
0 answers

openssh ecdsa sign verify but is wrong

I've written some C code witch should sign an hash. It seems to work fine; sign, generate public key and verify correctly. but then using the sign result into another know-working code give me a key verification error (the sign is used over a…
Lesto
  • 2,260
  • 2
  • 19
  • 26
0
votes
2 answers

How to check ECDSA (on p-256) signature using public key from certificate

I have certificate and ECDSA (on p-256) signature. Now i want to verify this signature using provided certificate. I use c++ (on Windows). Managed code (.NET) can't be used. I found that CryptoAPI doesn'r support ECDSA, so i should use CryptoAPI NG…
0
votes
1 answer

How to verify ECDSA signature with Crypto++ without the verify function?

I made a Signer/Checker mechanisms with ECDSA using Crypto++. The problem is when I want to check signature it doesn't work with Verify function. Can you propose me a more manual way to verify signature?
0
votes
1 answer

Get ECDSA signature with Crypto++

I have to get ECDSA signature in variable using Crypto++. I tried to get it after launching SignMessage but signature is empty. How could i get it?
user3175204
  • 23
  • 1
  • 7
0
votes
1 answer

Hex encode ECDSA keys in node.js

I'm building a nodejs app that talks to an API server. The API server requires that each request I make to it includes a X-Signature header using the prime256v1 ECDSA curve and sha256 hash on a particular set of data. I looked through the crypto…
Plato
  • 10,812
  • 2
  • 41
  • 61
0
votes
1 answer

What will be the behaviour if chosen cipher suite is ECDSA but the chosen client certificate is RSA

In case of TLS1.1 and TLS 1.0, what will be the behavior in the following scenario ? Suppose the server and client both are capable of handling RSA and ECDSA, the client sends a list of cipher suites and server chooses ECDSA for authentication. Then…
Buzz LIghtyear
  • 480
  • 5
  • 16
0
votes
2 answers

How can I validate an ECDSA signature using the signed data, signature and the signer ECDSA public key?

In theory it should be possible to validate the signature of a piece of data if in possesion of the public key, signature and data that was signed and the hash algorithm is known. I have all these components in binary format. Does anybody have an…
Drew Lex
  • 131
  • 1
  • 2
  • 6
0
votes
2 answers

Combining ECDSA keys

How can I combine two ECDSA private/public keypairs into one? I know it's done with modular addition in openssl, I just don't understand how that works. Can anyone explain that to me?
Kontakt
  • 111
  • 1
  • 12
0
votes
1 answer

Openssl Generate Public Asymmetric Key

I am trying to output the public EC key parameters Qx and Qy from OpenSSL CLI. Is this possible?
feederic
  • 29
  • 3
0
votes
2 answers

C implementation of ECDSA signature and verification with openssl

I am trying to create C program were I can choose from a menu which options I want from Signing a message and Verify a message. I have the code that signs the message and verifies at the same time. What I would like was to be able to parse a message…
mmm
  • 689
  • 2
  • 12
  • 25
-1
votes
0 answers

Making transactions using ECDSA, my Transfer button doesn't work (JavaScript, React, CSS, HTML)

What am I doing wrong? Hi everyone! I am doing a bootcamp project. The idea is to create an app in order to make transactions using ECDSA(elliptic curve algorithm). We use the js-ethereum-cryptography library. What I have done: Generate a random…
linfini
  • 1
  • 2
-1
votes
2 answers

OpenSSL3.0 - ECDSA Signature verification

I Am currently writing a C++ program with OpenSSL3.0 which takes a string of data, EDCSA signature, and checks the validity with EC public Key stored in a .pem file. Currently I have tried to use EVP_DigestVerifyFinal() but can't quite figure out…
NSmn
  • 1
  • 2