Re: [OpenWrt-Devel] nixio.TLSContext not found

2012-10-03 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi.

 How can I fix this?

You need to enable a crypto backend in luci-lib-nixio and then
recompile. The default builds do not inclue crypto capabilities in the
nixio library due to size constraints.

~ Jow
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBsAUMACgkQdputYINPTPMTbACeJiTNi0OqmFQGRAJTlk+jWvO4
SOsAn2KVpijnkhQ4R3CgcAqNCLuJzpJC
=HKTS
-END PGP SIGNATURE-
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] nixio.TLSContext not found

2012-10-03 Thread Nguyễn Hồng Quân

Hi
Le 03/10/2012 16:11, Jo-Philipp Wich a écrit :

You need to enable a crypto backend in luci-lib-nixio and then
recompile. The default builds do not inclue crypto capabilities in the
nixio library due to size constraints.

Sorry for stupid question, but how to enable the crypto backend?

--
Regards,
Quân

Y!IM: ng_hquan_vn
GTalk: ng.hong.quan

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] nixio.TLSContext not found

2012-10-03 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi.

 Sorry for stupid question, but how to enable the crypto backend?

Run make menuconfig - navigate to LuCI - Libraries and in the
TLS Provider field choose OpenSSL or CyaSSL instead of disabled.

Afterwards recompile with make package/luci/{clean,compile} V=99 and
install the resulting luci-lib-nixio ipk package on your router.

~ Jow
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBsCJYACgkQdputYINPTPPN7ACdH7vaps6bcR1hJp45Ihcoma4k
0d8AnRj0VgixC8EBIeMgP7VWUstDrpFL
=PEUX
-END PGP SIGNATURE-
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] nixio.TLSContext not found

2012-10-03 Thread Nguyễn Hồng Quân

Hi Jo-Philipp,

I did:
- Run make clean
- Choose TLS provider (OpenSSL) and luci in make menuconfig
- Run make package/luci/compile V=99
- I get luci-lib-nixio_0.10+svn9138-1_x86.ipk and install it with opkg 
install --force-downgrade.


However, the error module 'nixio.TLSContext' not found still exists.

What did I do wrong?

Le 03/10/2012 16:42, Jo-Philipp Wich a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi.


Sorry for stupid question, but how to enable the crypto backend?

Run make menuconfig - navigate to LuCI - Libraries and in the
TLS Provider field choose OpenSSL or CyaSSL instead of disabled.

Afterwards recompile with make package/luci/{clean,compile} V=99 and
install the resulting luci-lib-nixio ipk package on your router.



--
Regards,
Quân

Y!IM: ng_hquan_vn
GTalk: ng.hong.quan

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] nixio.TLSContext not found

2012-10-03 Thread Nguyễn Hồng Quân

I did wrong.
Instead of using
require nixio.TLSContext
I should use
tls = nixio.tls(client)

Le jeu. 04 oct. 2012 09:37:12 ICT, Nguyễn Hồng Quân a écrit :

Hi Jo-Philipp,

I did:
- Run make clean
- Choose TLS provider (OpenSSL) and luci in make menuconfig
- Run make package/luci/compile V=99
- I get luci-lib-nixio_0.10+svn9138-1_x86.ipk and install it with
opkg install --force-downgrade.

However, the error module 'nixio.TLSContext' not found still exists.

What did I do wrong?



--
Regards,
Quân

Y!IM: ng_hquan_vn
GTalk: ng.hong.quan
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel