Dear Dmitry,
I just submitted a new issue, #16256.
Thank you,
Nestor Melo
From: Dmitry Belyavsky
Sent: Friday, August 6, 2021 12:21 PM
To: Nestor Melo
Cc: openssl-users@openssl.org
Subject: Re: Public key from TSS2 private key with OpenSSL 3.0.0-beta2
Dear
Dear Nestor,
Could you please fill an issue on GitHub?
It's much simpler for us to follow the issues there.
On Fri, Aug 6, 2021 at 9:13 PM Nestor Melo
wrote:
> Greetings,
>
>
> We use a TPM2 device to generate private keys with tpm2-tss-engine:
> https://github.com/tpm2-software/tpm2-tss-engine
On Tue, Mar 23, 2010, Thomas Guettler wrote:
> Hi,
>
> I try to verify the file 'data'. The signature is in file 'sig' and the
> public key in 'pub_key.pem'
>
> But it fails. Can someone please help me? What I am doing wrong?
>
> u...@host> bin/openssl pkeyutl -verify -in data -sigfile sig -p
Hi,
You can check the api in rsa.h, where contains rsa structure called
"rsa_st".
the common modulus for both private and public keys is key->n.
private key exponent is key->d, public key exponent is key->e.
All of these values are ing BIGNUM structure format, of which you can
find quit a lot o
Hello Neil,
I'm not sure I fully understand where you're stuck...
Thus wrote Neil Dugan (open...@butterflystitches.com.au):
> I need to find the public keys modulus and exponent.
> I have loaded a private/public key generated by the openssl executable
> with the function PEM_read_bio_RSAPriva
Google is your friend:
http://www.google.ro/search?hl=ro&client=firefox-a&rls=com.ubuntu%3Aen-US%3Aunofficial&hs=o0j&q=openssl+howto+generate+rsa&btnG=C%C4%83utare&meta=
Btw, for the first result:
http://www.madboa.com/geek/openssl/#key-rsa
Regards,
Vandra Ákos
2009/7/16 So Gerald :
> you have
you have to gererate private key previously.
2009/7/16 sdc186
>
> Hello Everyone,
>
> I am using openssl 0.9.8g. Can anybody tell me how to generate public key
> in
> openssl. Which command should I use for the generation?
>
> Thanks.
> --
> View this message in context:
> http://www.nabble.com/
Hello Everyone,
I am using openssl 0.9.8g. Can anybody tell me how to generate public key in
openssl. Which command should I use for the generation?
Thanks.
--
View this message in context:
http://www.nabble.com/RE%3A-Public-Key-generation.-tp24506389p24506389.html
Sent from the OpenSSL - Use
Hello,
David Schwartz wrote:
If you want to compare the DER encodings, you need to get the DER encoding,
not the number. If you want to compare the numbers, '03' should compare
equal to '3' anyway. What are you trying to do?
DS
I just want to extract the public key to store it in another place
> Thank's for the answer, but i still got a little problem,
> when i run this code :
> EVP_PKEY *key2 = X509_get_pubkey(certif.getX509Certificate());
> cout << BN_bn2hex(key2->pkey.rsa->n);
> I miss the first 00 of the public key...
> How can i get them ?
The leading '00' is part of the DER enc
Hello,
Thank's for the answer, but i still got a little problem, when i run
this code :
EVP_PKEY *key2 = X509_get_pubkey(certif.getX509Certificate());
cout << BN_bn2hex(key2->pkey.rsa->n);
I miss the first 00 of the public key...
How can i get them ?
[EMAIL PROTECTED] wrote:
Hello,
[EMAI
Hello,
[EMAIL PROTECTED] wrote on 04/15/2008 06:30:10 PM:
> Hello,
>
> I'm looking to get back the public key from a x509 v3 certificate.
>
> I use the function ASN1_BIT_STRING * key = 509_get0_pubkey_bitstr(x509*
> certificate); but i don't get what i want :
> I get (from a conversion to hex
On 10/3/07, David Schwartz <[EMAIL PROTECTED]> wrote:
>
>
> > I need a way to hide the public key in the binary...
>
> You can't ask in public for a good hiding place.
>
> Note that your question has *nothing* to do with OpenSSL or even public
> key
> encryption for that matter. Your question is ba
> I need a way to hide the public key in the binary...
You can't ask in public for a good hiding place.
Note that your question has *nothing* to do with OpenSSL or even public key
encryption for that matter. Your question is basically "how do I make a
tamperproof executable".
DS
_
On Wed, Oct 03, 2007 at 11:11:26AM -0500, Md Lazreg wrote:
> > What problem does preventing the user from fielding a modified application
> > solve?
>
>
> It solves the problem of preventing the user from running my application in
> a mode they did not pay for.
If your target is PC software, th
Hello,
> If your users are not technically sophisticated, and the application is
> aimed at paying business customers and not the general public, it is
> enough to compile the key into the application. Businesses don't like
> being caught stealing.
>
> If or users are the general public and/or the
On Wed, 3 Oct 2007, Md Lazreg wrote:
On 10/3/07, Victor Duchovni <[EMAIL PROTECTED]> wrote:
On Wed, Oct 03, 2007 at 10:42:59AM -0500, Md Lazreg wrote:
Private keys do encrypt using the function :
http://www.openssl.org/docs/crypto/RSA_private_encrypt.html
Of course they do, but when a priv
On Wed, Oct 03, 2007 at 11:11:26AM -0500, Md Lazreg wrote:
> On 10/3/07, Victor Duchovni <[EMAIL PROTECTED]> wrote:
> >
> > On Wed, Oct 03, 2007 at 10:57:39AM -0500, Md Lazreg wrote:
> > Is this DRM? DRM is not possible without
> > trusted hardware, and even then is difficult.
>
>
> Yes it is DR
On 10/3/07, Victor Duchovni <[EMAIL PROTECTED]> wrote:
>
> On Wed, Oct 03, 2007 at 10:57:39AM -0500, Md Lazreg wrote:
> Is this DRM? DRM is not possible without
> trusted hardware, and even then is difficult.
Yes it is DRM in a way. I know it is not possible to have a 100% protection
using only
On Wed, Oct 03, 2007 at 10:57:39AM -0500, Md Lazreg wrote:
> > If you are signing, your model is fine, and embedding the public key in
> > the binary is exactly the right thing to do. If you are encrypting,
> > use a symmetric algorithm, the public key algorithm is just confusing
> > you.
>
> Yes
On 10/3/07, Victor Duchovni <[EMAIL PROTECTED]> wrote:
>
> On Wed, Oct 03, 2007 at 10:42:59AM -0500, Md Lazreg wrote:
>
> > Private keys do encrypt using the function :
> > http://www.openssl.org/docs/crypto/RSA_private_encrypt.html
>
> Of course they do, but when a private key encrypts, it is
> ca
On Wed, Oct 03, 2007 at 10:42:59AM -0500, Md Lazreg wrote:
> Private keys do encrypt using the function :
> http://www.openssl.org/docs/crypto/RSA_private_encrypt.html
Of course they do, but when a private key encrypts, it is
called "signing", because the public key is presumed to be (drum
roll..
On 10/3/07, Victor Duchovni <[EMAIL PROTECTED]> wrote:
>
> On Wed, Oct 03, 2007 at 10:04:26AM -0500, Md Lazreg wrote:
>
> > I am encrypting a file using a private key, and my program is decrypting
> it
> > using the public key compiled in the binary.
>
> Private keys don't "encrypt" they sign. The
In message <[EMAIL PROTECTED]> on Wed, 3 Oct 2007 10:04:26 -0500, "Md Lazreg"
<[EMAIL PROTECTED]> said:
mdlazreg> I am encrypting a file using a private key, and my program
mdlazreg> is decrypting it using the public key compiled in the
mdlazreg> binary.
If it isn't an automatic process of some
On Wed, Oct 03, 2007 at 10:04:26AM -0500, Md Lazreg wrote:
> I am encrypting a file using a private key, and my program is decrypting it
> using the public key compiled in the binary.
Private keys don't "encrypt" they sign. The public key *verifies*.
If you want to encrypt, you use the "public" k
Don't save it in the binary?
Regards,
Daniel Clusin
EnerNOC, Inc.
(617)5328154
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Md Lazreg
Sent: Wednesday, October 03, 2007 11:04 AM
To: openssl-users@openssl.org
Subject: public key in the binar
Victor Duchovni wrote:
On Fri, Mar 02, 2007 at 05:56:24PM -0500, Xiaoyu Ruan wrote:
Thanks. Refer to the sample test given in PKV.txt in
http://csrc.nist.gov/cryptval/dss/ecdsatestvectors.zip.
I tried EC_KEY_check_key() against six NIST recommended EC curves P-192
P-224 K-163 K-233 B-163 B-233.
On Fri, Mar 02, 2007 at 05:56:24PM -0500, Xiaoyu Ruan wrote:
> Thanks. Refer to the sample test given in PKV.txt in
> http://csrc.nist.gov/cryptval/dss/ecdsatestvectors.zip.
> I tried EC_KEY_check_key() against six NIST recommended EC curves P-192
> P-224 K-163 K-233 B-163 B-233. For curves P-192
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nils Larsch
Sent: Friday, March 02, 2007 2:24 PM
To: openssl-users@openssl.org
Subject: Re: Public key validation for ECDSA
Xiaoyu Ruan wrote:
> Hi dear fellows,
>
>
>
> I would like to know if there is any fu
Xiaoyu Ruan wrote:
Hi dear fellows,
I would like to know if there is any function(s) in OpenSSL that handles
public key validation for ECDSA.
Given a point (public key) and a curve, I would like to test if this
point is a valid public key for this curve.
have a look at EC_KEY_check_key(
Hello,
> I just have one qusetion, I am developing an application that makes
> use of a cryptographic token (cryptocombo2048). The token exports the
> public key to a file in the following format :
>
> Public Key Label[128byte]
> Public Key ID[128byte]
> Public Key Modulus[128 byte]
> Public Key
I am afraid few can help u with this. "man 3 rsa" on a
linux/*BSD system might help u.
The code samples at www.opensslbook.com have couple of
samples IIRC
All the best!
regards,
Girish
--- Neil Dugan <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> OpenSSL newbie here, I am looking for an 'C'
> example/
On Mon, Jul 17, 2006 at 11:04:21AM +1000, Neil Dugan wrote:
> OpenSSL newbie here, I am looking for an 'C'
> example/documentation on how to use 'Public Key Encryption'
> in my own programs.
Don't use public key encryption in your own programs. Instead decide which
security threats your program n
Hi,
I am trying to encrypt a session key that I created using DES_KEY_SCHEDULE. I am using
RSA_public_encrypt to encrypt the session key (8 bytes) with the public key using
RSA_PKCS1_OEAP_PADDING. This creates a 64byte encrypted session key. I send this to
the
Server on the windows machine.
On Thu, 11 Apr 2002 15:56:52 +0800, Howard Chan wrote:
>I'm just not sure about somethingsay I generate a certificate (a signed
>cert request using a self signed cert) and the resulting certificate is
>newcert.pem. Will this newcert.pem contain both a private and a public
>key? If so, c
Afer generating your private key, try
openssl rsa -in /php_data_priv.key -pubout -out /php_data_pub.key
The file "php_data_pub.key" will contain the public part of the key only.
Cheers,
Steve
> Hi,
>
> I want to make use of public key encryption
> in my program, but I do not know how to generat
Have a look at the -pubout option of the "openssl rsa" command.
> -Original Message-
> From: Satish Krishnan [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 09, 2001 3:28 PM
> To: [EMAIL PROTECTED]
> Subject: public key
>
> hi
> i have generated a private key using rsa with openssl
Deepak Taneja wrote:
>
> Hello ,
>Anybody can tell me that which algo is used to generate
> client public and private key.?
Usually RSA with md5, anyway you can try the DSA as well.
C'you,
Massimiliano Pala ([EMAIL PROTECTED])
S/MIME Cryptographic Signature
Please Explain "by hand"...?
If you mean can you write code in C/C++ to do it, then the answer is yes.
Look in the file rsa.h, it has all the prototypes for the functions you'll
require.
Michael Slass wrote:
>
> Hello:
>
> I asked this question last week, but haven't seen a reply come by,
The key file contains both private and public key components.
You can easily find it out with openssl rsa -noout -text
Oliver Flöricke schrieb:
>
> Hi there,
>
> maybe it's a really stupid question but...:
>
> Having created my request with 'openssl ca [...]' I was wondering where the
> public
40 matches
Mail list logo