Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PicoW Peripheral Secure Connection #457

Open
mytechnotalent opened this issue Jan 1, 2024 · 7 comments
Open

PicoW Peripheral Secure Connection #457

mytechnotalent opened this issue Jan 1, 2024 · 7 comments

Comments

@mytechnotalent
Copy link

Can you please add a PicoW Peripheral Secure Connection example as the only ones available are plain text that can be seen by any sniffer.

@lurch
Copy link
Contributor

lurch commented Jan 1, 2024

I'm not sure exactly what you're asking for, but are you looking for https://github.com/raspberrypi/pico-examples/tree/master/pico_w/wifi/tls_client ? (which was added in #305 )

@peterharperuk
Copy link
Contributor

I think he's referring to pairing in Bluetooth

@mytechnotalent
Copy link
Author

Yes @peterharperuk is correct I am referring to pairing in BLE I would love an example of such as the TLS example is great for WiFi but a BLE pairing example would be ideal and necessary for any real Bluetooth dev on the PicoW thank you in advance!

@matsobdev
Copy link

There is picow_bt_example_sm_pairing_peripheral with corresponding .gatt file to encrypt characteristic data as well.

@mytechnotalent
Copy link
Author

Thank you @matsobdev I was hoping for something within the current RPI stack as this has licensing requirements.

@lurch
Copy link
Contributor

lurch commented Feb 28, 2024

@matsobdev
Copy link

For example hog examples :P might be helpful as well, you can trace hids.gatt file and see how transferred data are secured with ENCRYPTION_KEY_SIZE_16 and apply the same to for example nRF serial like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants