Assuming that 1.0.1 is still breaking for someone, the cryptodev author has made some changes he'd like us to test:
https://mail.gna.org/public/cryptodev-l ... 00004.html
Can somebody with a source building environment give it a go?
openssl genrsa -out privkey.pem 2048
openssl req -new -sha1 -x509 -key privkey.pem -out cacert.pem
[root@GFN ~]# pacman -S openssl-cryptodev
resolving dependencies...
looking for inter-conflicts...
:: openssl-cryptodev and openssl are in conflict. Remove openssl? [y/N] y
Targets (2): openssl-1.0.1-1 [removal] openssl-cryptodev-1.0.1-1
Total Download Size: 2.24 MiB
Total Installed Size: 9.12 MiB
Net Upgrade Size: 0.04 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
openssl-cryptodev-1.0.1-1-arm 2.2 MiB 1259K/s 00:02 [################################] 100%
(1/1) checking package integrity [################################] 100%
(1/1) loading package files [################################] 100%
(1/1) checking for file conflicts [################################] 100%
(2/2) checking available disk space [################################] 100%
(1/1) removing openssl [################################] 100%
(1/1) installing openssl-cryptodev [################################] 100%
Optional dependencies for openssl-cryptodev
ca-certificates
[root@GFN ~]# cd tmp/cryptodev/
[root@GFN cryptodev]# openssl genrsa -out privkey.pem 2048
Generating RSA private key, 2048 bit long modulus
.......................................+++
.....+++
e is 65537 (0x10001)
[root@GFN cryptodev]# openssl req -new -sha1 -x509 -key privkey.pem -out cacert.pem
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:-------
Locality Name (eg, city) []:-------
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Arch Linux ARM
Organizational Unit Name (eg, section) []:WHSE
Common Name (e.g. server FQDN or YOUR name) []:whse.archlinuxarm.org
Email Address []:---@archlinuxarm.org
1074128080:error:0606B06E:digital envelope routines:EVP_SignFinal:wrong public key type:p_sign.c:125:
1074128080:error:0D0C3006:asn1 encoding routines:ASN1_item_sign:EVP lib:a_sign.c:279:root@americium:~/temp# lsmod
Module Size Used by
ipv6 254083 10
rmd160 7186 0
sha1_generic 1661 8
hmac 2387 0
blowfish 8374 0
mv_cesa 9021 8
cryptodev 30515 3
root@americium:~/temp# openssl genrsa -out privkey.pem 2048
Generating RSA private key, 2048 bit long modulus
.....................................................................................................................................................................................................................................+++
................................................+++
e is 65537 (0x10001)
root@americium:~/temp# openssl req -new -sha1 -x509 -key privkey.pem -out cacert.pem
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:
Email Address []:
root@americium:~/temp#Users browsing this forum: No registered users and 1 guest