OpenSSL support for MacOS Big Sur(Cross compilation for ARM architecture/Apple silicon)?

2020-10-18 Thread Vinay Kumar via openssl-users
Hi All, As Apple is moving from Intel to ARM architecture, does OpenSSL support cross-compiling(using Xcode 12.2) on MacOS Big Sur for Apple silicon(ARM architecture)?If not, any expected date? Thanks,Vinay

OpenSSL 1.1.1b version chooses wrong AS(assembler) on Windows

2019-03-10 Thread Vinay Kumar via openssl-users
Hi All, The OpenSSL version 1.1.1b chooses wrong AS(assembler) on running through Cygwin in Windows. It chooses 'ml' instead of 'nasm'(but uses the syntax of nasm) which causes OpenSSL build failure on Windows. The same works fine with OpenSSL 1.1.0i version. Looks like a bug with 1.1.1b versio

[openssl-users] GSCheck fails for Windows 32build 'libeay32.dll' library

2018-11-28 Thread Vinay Kumar via openssl-users
Hi All, The 32bit OpenSSL 1.1.0i library 'libeay32.dll' fails for binscope GSCheck on Windows. E:\libeay32.dll: error BA2022: libeay32.dll was compiled with the following modules for which a language could not be identified. Ensure these were compiled with debug information and run BinScope ag

Bug in OpenSSL 0.9.8e

2011-07-20 Thread Vinay Kumar
Hi All, I am using OpenSSL *OpenSSL 0.9.8e*. The OpenSSL function sometimes *sha1_block_host_order () *crashes on Linux. Is there any fix available for this issue or what are the modifications need to be done? Please guide me. _The core back trace is as follows:_ Program terminated

Re: Not able to read public modulus & public exponent fields

2011-05-23 Thread Vinay Kumar
& Best Regards, Vinay        Christian Hohnstaedt wrote: Hi, Try: EVP_PKEY *pkey = X509_get_pubkey(cert); rsa_public_key = EVP_PKEY_get1_RSA(pkey); Cheers Christian On Mon, May 23, 2011 at 06:41:34PM +0530, Vinay Kumar wrote: Hi All, I am trying to print *public modulus* an

Not able to read public modulus & public exponent fields

2011-05-23 Thread Vinay Kumar
Hi All, I am trying to print *public modulus* and *public exponent* from a *X509 certificate*. The code snippet is as follows: modulus_and_exponent(X509 *cert) { RSA *rsa_public_key = NULL; if(cert->cert_info->key->pkey){ rsa_public_key = EVP

Re: Base64 Encoding and Decoding error

2011-03-01 Thread Vinay Kumar L
he cause of Base64 returning NULL. Thanks & Best Regards, Vinay Jan Steffens wrote: On Tue, Mar 1, 2011 at 7:00 AM, Vinay Kumar L wrote: Encoding of string "testencoding" using base64 command: #base64 data.txt > encode.txt data.txt -> It contains only the str

Base64 Encoding and Decoding error

2011-02-28 Thread Vinay Kumar L
Hi All, I am doing Base64 encoding and decoding of a string "testencoding" using OpenSSL api *BIO_f_base64, *but when Base64 encoding is done for the same string using OpenSSL command *base64,* the last byte of encoded data will be different than the one generated using *BIO_f_base64 *api. Al

To reduce the size of the OpenSSL library

2010-12-27 Thread Vinay Kumar L
Hi All, I am trying to reduce the size of OpenSSL library due to memory constraints on our platform. I removed all the not required ciphers (idea, rc5, mdc2...). ./config no-rc2 no-md2 no-mdc2 no-idea no-rc5 no-bf no-krb5 no-cast no-zlib no-zlib-dynamic no-rfc3779 no-gmp no-camellia no-asm

Re: Error 20 at 0 depth lookup:unable to get local issuer certificate

2010-12-14 Thread Vinay Kumar L
file and check again. Thanks, Sandeep On Tue, Dec 14, 2010 at 12:00 PM, Vinay Kumar L <mailto:vinaykuma...@globaledgesoft.com>> wrote: Hi all, I have generated certificate chain using Openssl(OpenSSL 0.9.8e). The certificate hierarchy is as follows: ca.pem &

Error 20 at 0 depth lookup:unable to get local issuer certificate

2010-12-13 Thread Vinay Kumar L
Hi all, I have generated certificate chain using Openssl(OpenSSL 0.9.8e). The certificate hierarchy is as follows: ca.pem >cert1.pem>cert2.pem->last.pem Openssl doesn't give any error when verifying these certificate chain(Certificate chain verification is successful) during TLS

Openssl certificate date issue

2010-10-13 Thread Vinay Kumar L
Hi all, I am trying to generate certificate which is valid for 20years. As the 20years crosses unix end time(January 19, 2038 03:14:07 GMT) from the current date, openssl certificate generated will have wrong dates(Not before and not after times) in certificate as follows: *Validity

Use of IMPLEMENT_ASN1_FUNCTIONS()

2010-10-04 Thread Vinay Kumar L
Hi All, I found a code snippet as follows: ASN1_SEQUENCE(KDC_PRINCNAME) = { ASN1_EXP(KDC_PRINCNAME, realm, ASN1_GENERALSTRING, 0), ASN1_EXP(KDC_PRINCNAME, princname, KRB5_PRINCNAME, 1) } ASN1_SEQUENCE_END(KDC_PRINCNAME); IMPLEMENT_ASN1_FUNCTIONS(KDC_PRINCNAME) Here ASN1

Re: Subject alternative name problem

2010-09-22 Thread Vinay Kumar L
Vinay Kumar L wrote: Hi all, I have to generate a KDC certificate containing Subject alternative name extension using openssl which includes the following details: ** The KDC's X.509 certif

Subject alternative name problem

2010-09-22 Thread Vinay Kumar L
Hi all, I have to generate a KDC certificate containing Subject alternative name extension using openssl which includes the following details: ** The KDC's X.509 certificate MUST contain name of th