Search found 8 matches

by StevePeake
Wed Sep 15, 2021 3:55 pm
Forum: ESP-IDF
Topic: Basic authentication with the ESP-IDF HTTPS-Server
Replies: 13
Views: 14842

Re: Basic authentication with the ESP-IDF HTTPS-Server

I've found the answer to where the Basic Auth is in the simple example:

https://github.com/espressif/esp-idf/co ... efeb1e6e58

This requires the latest stable ESP-IDF (v4.3.1)

Haven't got it working in my project yet, but will keep at it
by StevePeake
Wed Sep 15, 2021 2:34 pm
Forum: ESP-IDF
Topic: Basic authentication with the ESP-IDF HTTPS-Server
Replies: 13
Views: 14842

Re: Basic authentication with the ESP-IDF HTTPS-Server

Apologies if I've missed something obvious, but I can't find any basic authentication in any of the http_server/https_server examples.

Like the OP, I'm looking to add username/password authentication to my https server (based on the "simple" examples).

Thanks.
by StevePeake
Tue Mar 16, 2021 1:56 pm
Forum: ESP-IDF
Topic: Large project crashes when including Bluetooth (memory resources short?)
Replies: 3
Views: 3561

Re: Large project crashes when including Bluetooth (memory resources short?)

Have you checked your partition table is suitable for the app with Bluetooth installed? I've only recently added BLE libraries to my project, and it has pushed the file size over 1MB. I was using the FACTORY/OTA_0/OTA_1 partition table (3x1MB partitions) which caused problems. I can't remember if it...
by StevePeake
Tue Mar 16, 2021 1:03 pm
Forum: ESP-IDF
Topic: ledc_set_duty_and_update requires ledc_fade_func_install
Replies: 1
Views: 2690

ledc_set_duty_and_update requires ledc_fade_func_install

Hi All ledc_set_duty_and_update() always fails unless ledc_fade_func_install() has been called as part of the LEDC configuration. The separate (non-thread-safe) functions ledc_set_duty() and ledc_update_duty() work fine without ledc_fade_func_install() I couldn't find this mentioned in the documenta...
by StevePeake
Wed Feb 03, 2021 11:18 am
Forum: ESP-IDF
Topic: NimBLE reconnection fails when paired with Secure Connection enabled
Replies: 0
Views: 2068

NimBLE reconnection fails when paired with Secure Connection enabled

Hello I've just started using BLE in my project, using NimBLE (esp-idf v3.3.4). I am using the bleprph example, with CONFIG_EXAMPLE_BONDING, CONFIG_EXAMPLE_MITM, and CONFIG_EXAMPLE_USE_SC all enabled. I am connecting with an Android phone, using the LightBlue app. I can connect, disconnect, and reco...
by StevePeake
Tue Dec 01, 2020 2:28 pm
Forum: ESP-IDF
Topic: Signed App test in OTA Update passes with corrupted certificate
Replies: 3
Views: 4113

Re: Signed App test in OTA Update passes with corrupted certificate

Thanks for the info - I'm sure that will come in useful. I caused my own problem by being lazy. I was documenting how the OTA Update system should work in a new project, and wanted to see what was reported if the wrong key was used. Rather than look-up the OpenSSL command to generate a new key, I th...
by StevePeake
Tue Dec 01, 2020 9:24 am
Forum: ESP-IDF
Topic: Signed App test in OTA Update passes with corrupted certificate
Replies: 3
Views: 4113

Re: Signed App test in OTA Update passes with corrupted certificate

A bit more experimentation proved I was missing something. Although I'd inserted the junk text into the middle of the key, I'd only overwritten padding characters. Anything after character 72 (and before the terminating == characters) can be overwritten without invalidating the key. Overwriting earl...
by StevePeake
Mon Nov 30, 2020 11:10 am
Forum: ESP-IDF
Topic: Signed App test in OTA Update passes with corrupted certificate
Replies: 3
Views: 4113

Signed App test in OTA Update passes with corrupted certificate

ESP-IDF v3.3.4 I am currently implementing an OTA Update mechanism. I have enabled: Security Features->Require Signed app images Security Features->Verify app signature on update Security Features->Sign binaries during build and generated a "Secure boot private signing key" as documented here: https...