Search found 84 matches
- Tue Dec 17, 2024 4:41 pm
- Forum: NetBurner Software
- Topic: ssh key based authentication
- Replies: 1
- Views: 984
ssh key based authentication
using NANO and 3.5.0. It seems that SSH key-based authentication is not yet supported In my research on SSH so far, apart from password authentication, I understand that an SSH server can authenticate a client using the client’s public key installed on the server. I reviewed the example ssh/SshServe...
- Tue Dec 17, 2024 3:04 pm
- Forum: NetBurner Software
- Topic: self generated cert has invalid signature
- Replies: 6
- Views: 1250
Re: self generated cert has invalid signature
I use the default ECC. However there's a HAVE_ECC defined in the \nburn\libraries\include\crypto\platform\NANO54415, my guess is if you commented it out, it will default to RSA. But I didn't test with RSA
- Fri Dec 13, 2024 3:06 pm
- Forum: NetBurner Software
- Topic: self generated cert has invalid signature
- Replies: 6
- Views: 1250
Re: self generated cert has invalid signature
with further troubleshoot, I found that was caused by the signature algorithm mismatch with the public key algorithm in the certificate. Since it's a self signed certificate , the two algorithms in the cert need to be the same, either RSA or ECC. If a cert was signed by a CA, the signature algorithm...
- Thu Dec 12, 2024 5:23 pm
- Forum: NetBurner Software
- Topic: self generated cert has invalid signature
- Replies: 6
- Views: 1250
Re: self generated cert has invalid signature
This reminds me when I first play with SSL a few years ago that having the same problem with 2.9.3. I forget how it get solved, but I think it has to do with subject alternate name.
same to the second problem in the post below
viewtopic.php?t=3055
same to the second problem in the post below
viewtopic.php?t=3055
- Thu Dec 12, 2024 5:15 pm
- Forum: NetBurner Software
- Topic: self generated cert has invalid signature
- Replies: 6
- Views: 1250
Re: self generated cert has invalid signature
also if I add a compile server cert and key into the SSH example instead of using the onboard generated cert and key, and that cause the SshAccept function fail and return an error code 304 which is SSH_ERROR_BAD_KEY. The cert and key are created by OpenSSL and compile into cpp file using makeserver...
- Thu Dec 12, 2024 5:03 pm
- Forum: NetBurner Software
- Topic: self generated cert has invalid signature
- Replies: 6
- Views: 1250
self generated cert has invalid signature
using 3.5.0 and NANO module. I am doing SSH R&D, and I started with example SSH/sshServerUserAuth. It build and runs fine. In the example it call to generate a cert and key if there isn't one available for use. So I add a dummy html and enable HTTPS web server in the project. the certificate I d...
- Thu Jan 05, 2023 12:56 pm
- Forum: NetBurner Software
- Topic: HiResTimer cause stopwatch fail
- Replies: 7
- Views: 11293
Re: HiResTimer cause stopwatch fail
Thanks for the guidance. I will try to replace it with HiResDelay
- Tue Jan 03, 2023 12:07 pm
- Forum: NetBurner Software
- Topic: HiResTimer cause stopwatch fail
- Replies: 7
- Views: 11293
Re: HiResTimer cause stopwatch fail
I test it out, it still return as 0. The stopwatch only works when I specify the parameter to 1 or greater.
I don't use the HiResTimer at all, it inherits from my coworker's 2.x source code. I can specify it to 1, and my code still runs.
It's just something alert me that I need to fix.
I don't use the HiResTimer at all, it inherits from my coworker's 2.x source code. I can specify it to 1, and my code still runs.
It's just something alert me that I need to fix.
- Tue Jan 03, 2023 9:15 am
- Forum: NetBurner Software
- Topic: HiResTimer cause stopwatch fail
- Replies: 7
- Views: 11293
Re: HiResTimer cause stopwatch fail
yes it did. In fact, the example is what I start with the stopwatch. However like in my test project, if I have the follow two lines of code incorporated into the example, the stopwatch will return 0 elapsed time. #include <HiResTimer.h> ... HiResTimer *hrt = HiResTimer::getHiResTimer(0); hrt->init(...
- Fri Dec 23, 2022 9:53 am
- Forum: NetBurner Software
- Topic: HiResTimer cause stopwatch fail
- Replies: 7
- Views: 11293
HiResTimer cause stopwatch fail
using NANO and 3.3.9, I got legacy code in 2.x from my colleague. I ported the project into 3.x. when I try use the stopwatch, the elapsed time always return as 0. When I comment out the HiResTimer Init function, the stopwatch work properly. Here's the simple project I build to test #include <predef...