Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openssl]

The tag has no usage guidance.

0
votes
1answer
21 views

Representation of coordinates in signature. OpenSSL

I want to calculate the v-value from the signature obtained using the OpenSSL ECDSA_do_sign function. I found that this value is calculated using the parity of y-coordinate of r. Here I also found ...
1
vote
2answers
66 views

Bitcoind does not like ECDSA (r, s) pair produced by OpenSSL

I am writing transactions manually and have stumbled across a rather bizarre situation. Only one in a few of the transactions I broadcast to bitcoind is accepted, otherwise I get a REJECT_NONSTANDARD ...
1
vote
1answer
100 views

OpenSSL bitcoin addresses generation

Using OpenSSL ver 1.1.0h on win 8.1 - 32 bit Im trying to recreate this post using cmd: OpenSSL generate Bitcoin address But on step 3: openssl ec -in c:\keys\private.pem -outform DER|tail -c +8|...
1
vote
1answer
68 views

Creating a Bitcoin address using the 9 steps. Stuck on stage 2

I need to write a script using C++ and the OPENSSL library that takes this: 0250863ad64a87ae8a2fe83c1af1a8403cb53f53e486d8511dad8a04887e5b2352 performs a SHA256 Hash using the sha256 function from the ...
0
votes
1answer
312 views

How to generate a bitcoin address from a hexadecimal private key using openssl in swift

I have an iOS app which can generate Bitcoin private keys in either a hexadecimal or base64 output. I'd like take the resulting private key and generate the Bitcoin address from it. I've included ...
1
vote
3answers
349 views

Sign a tx with “low s” value using OpenSSL

I currently try to sign a tx using OpenSSL. After some tinkering I think I got most of the tx right but Electrum complains with mandatory-script-verify-flag-failed (Non-canonical signature: S value is ...
2
votes
3answers
2k views

How do these OpenSSL commands create a Bitcoin private/key from a ECDSA keypair

I found the following code online and apparently it works. But I don't understand the lines which extract the Bitcoin compatible private/public key from the created ECDSA keypair. FILE_NAME=$1 ...
3
votes
1answer
700 views

OpenSSL generate Bitcoin address

I am building a script to generate secp256k1 using OpenSSL in MacOS. Seems to work fine. My question: is this SECURE enough? #!/bin/bash if [ $# -eq 0 ]; then echo "Missing name, for example ...
0
votes
1answer
50 views

Which impacts has openssl's end of life [2019-12-31 (LTS)]

What will happen after openssl 1.0.2 reaches end of life - 2019-12-31 (LTS) (Source: https://www.openssl.org/policies/releasestrat.html) I remember discussion about it. Openssl does not need to be ...
4
votes
1answer
1k views

OpenSSL and Secp256k1 differing in implementation of ECDSA signatures?

OpenSSL (from ssl in Mac OS X Version 10.11.6) and Secp256k1 (from the bitcoin-core repository) seem to differ in their implementations of ECDSA. I'm having issues with these differences and want to ...
2
votes
1answer
464 views

Signing tx with OpenSSL, but fails when sending with bitcoin qt. How to debug?

I try to create a tx with 4 inputs, and sign it via cmdline and openssl on a cold storage machine. Then I want to send it via bitcoin qt (or blockchain.info). Signing with a single input and a single ...
3
votes
1answer
713 views

Verifying a bitcoin trx on the Unix cmd line with OpenSSL?

I want to use openssl on unixoide systems to verify a transaction. I step on errors, when trying to verify a bitcoin trx’s hash. Here I am working on Mac OSX and OpenSSL (1.0.2a 19 Mar 2015). I know ...
5
votes
1answer
851 views

Transaction signature algorithm

As I know, standard ECDSA digital signature algorithm returns two values (according to this article or Wikipedia), but transaction push services or APIs, like this one, require one string as a ...
6
votes
1answer
8k views

Building on Ubuntu 16, missing SSL during ./configure

I am trying to build bitcoind on Ubuntu 16 64-bit. I have installed the dependencies and have built it fine many times on other machines. During ./configure, I am getting checking whether the Boost::...