Giter VIP home page Giter VIP logo

Comments (4)

gojimmypi avatar gojimmypi commented on June 14, 2024 1

Hi @tobozo

With the recent merge of wolfSSL/wolfssl#7304 and #5, there are now 2 new Arduino IDE examples in place:

There's a pending release that should include these in the Arduino IDE examples menu. (see log).

You can test drive right away by using the wolfssl-arduino.sh script, with instructions in the description for #5 and/or the README

Please try it out and let me know how it goes. Thank you.

from arduino-wolfssl.

gojimmypi avatar gojimmypi commented on June 14, 2024 1

A considerable amount of progress has been made on the wolfSSL Arduino library.

The latest release is now published at the Arduino Registry:

https://www.arduino.cc/reference/en/libraries/wolfssl/

This Arduino-wolfSSL also now contains the above-mentioned TLS Client and Server examples. They can be found in the Arduino IDE under:

File - Examples - (Examples from Custom Libraries) - wolfssl - wolfssl_server

image

I've been able to get wolfSSL TLS working on an Arduino device with as little as 32KB RAM. See my microblog where I used the Arduino Nano 33 IoT SAMD21 with only 32KB RAM + 256KB flash.

I'm leaving this issue open, as I still need to add the wolfssl_test and wolfssl_benchmark examples.

I also have wolfSSL over at PlatformIO, including Arduino support.

For those interested in post-release updates for PlatformIO, there's a wolfssl-staging owner.

from arduino-wolfssl.

tobozo avatar tobozo commented on June 14, 2024

On Arduino I'm getting same error as in this issue) , which can only be solved by modifying the core.

However Arduino-WolfSSL works as a library dependency with platformio and espidf, the only missing bit to get it there is the library.json file at the root of the project.

Here's the file I've added on my local copy (limited to esp32):

library.json

{
  "name": "wolfssl",
  "description": "A lightweight SSL/TLS library written in ANSI C and targeted for embedded, RTOS, and resource-constrained environments. Manual: https://www.wolfssl.com/documentation/manuals/wolfssl/index.html.",
  "keywords": "wolfssl, ssl, tls",
  "authors": {
    "name": "wolfSSL inc",
    "url": "https://github.com/wolfSSL",
    "maintainer": true
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/wolfSSL/Arduino-WolfSSL.git"
  },
  "version": "5.6.6-Arduino.1",
  "frameworks": ["arduino", "espidf", "*"],
  "platforms": ["espressif32"],
  "headers": ["wolfssl.h"],
  "build": {
    "libArchive": false
  }
}

from arduino-wolfssl.

gojimmypi avatar gojimmypi commented on June 14, 2024

Hi @tobozo & thanks for taking this new wolfSSL Arduino library for a test drive!

There are indeed some outstanding issues that need to still be resolved:

  • Regarding PlatformIO, I've not yet started on that. See platformio/platformio-registry#85
  • As for the espressif/arduino-esp32, I only recently even learned that there's an Arduino component for the ESP-IDF. I've not yet tried to use the Arduino wolfSSL component like that. However: note that we do have robust support of wolfSSL directly in the ESP-IDF as a regular or managed component. See the Espressif examples and in particular the wolfSSL component.
  • For hardware: so far, I've only confirmed the operation of this library with the Arduino IDE and only with the Arduino Due and ESP32 as noted in wolfSSL/wolfssl#7177
  • I just received an Arduino Nano 33 IoT device in the mail today. I was disappointed to learn that it does not work with the current release of wolfSSL for Arduino. (random number initialization needs attention)
  • This wolfSSL library is now a part of the Arduino Registry (see arduino/library-registry#4056). There are still two leftover, unofficial, non-working wolfSSL releases in the Arduino registry. See arduino/library-registry#4101

I'm hoping to get these issues tidied up in the very near future at which time I plan to publish a blog on getting started.

I certainly appreciate your interest and thanks for sending along the sample library library.json. I'm interested in your thoughts on the Espressif espressif/arduino-esp32 ... how you use it any why... in comparison to the regular ESP-IDF or the Arduino IDE.

Best Regards

from arduino-wolfssl.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.