GithubHelp home page GithubHelp logo

wolfssl / osp Goto Github PK

View Code? Open in Web Editor NEW
20.0 21.0 32.0 12.86 MB

wolfSSL Open Source project ports

Home Page: https://www.wolfssl.com

C 47.85% C++ 38.42% Makefile 1.81% KRL 0.01% Shell 2.28% Perl 1.57% Awk 0.02% Python 2.82% CSS 0.01% Yacc 0.18% HTML 0.67% PHP 0.65% Batchfile 0.02% NSIS 0.05% M4 1.56% PLSQL 0.03% PLpgSQL 0.08% Ruby 0.01% DIGITAL Command Language 0.01% Roff 1.96%
apache cryptography freeradius git hostapd krb5 nginx openssh openssl-alternative python

osp's Issues

Error in running make all command patched OQS openssl fork

I am following all the instructions as given here. I am getting following errors after running the final command i.e, make all. I have attached the screenshots of the history as well as the start of the error in make all command. You can check the output of history command to see if all the steps were followed properly. The OpenSSL version is OpenSSL 3.0.11 19 Sep 2023 (Library: OpenSSL 3.0.11 19 Sep 2023). Also, even though this screenshot is of error on raspberry pi, I faced the same error on Ubuntu as well.

2
Capture

Process to patch Python 3.8.14 or 3.8.5 for wolfSSL on Windows

Since the Windows build doesn't run the autoconf and configure I am wondering what the process is to get Python patched for wolfssl on Windows. Is this possible with configuration passed into CMake?

I would like to help get this working if there is an avenue.

Working on a CMake/Python build system which bootstraps Python from source. Seems that using Wolf is preferable to downloading Strawberry Perl bins & OpenSSL src on Windows, in order to get Python built. CMake can build anything first so why not build Python in the most succinct way.. Would like to commit PR in this area if I get something going.

Building lighthttpd with wolfssl

I am trying to build lighthttpd-1.4.51 with wolfssl 5.6.3. I followed the instructions:

wolfssl:
/configure --enable-lighty --prefix=/usr/local && make -j8 && sudo make install && sudo ldconfig

ls /usr/local/lib:
image

lighthttpd:
./configure --with-wolfssl=yes --prefix=/usr/local/lib --without-bzip2 --without-zlib --without-pcre

It showes:
image

Then I also tried to replace --with-wolfssl=yes with --with-wolfssl=/usr/local, it is still not working.

Per Project gitignores

A small issue I ran into with adding pppd is that it had its own gitignore and a hand-tooled configure script. Our master gitignore skips configure scripts. Since each project has its own list of special things to ignore each should have its own gitignore file.

Anyway, I think this would get a good 10 minute project, and I'll probably get to it. But, I'm adding this issue as a reminder. (And if someone else wants to tackle it, all the better.)

stunnel build with wolf-ssl(pre-built with the liboqs) failure

Hi ,

First of all the appreciate for the great work .

I am following your procedure outlined in here .

could successfully the wolfssl with liboqs, however stunnel build failed with the below error . could you please let me know where am I going wrong or what I would be missing ?

I am doing this whole build in Mac OS 13.4.1 (c) (M1 chip) .


aishwaryanarayanan@Aishwaryas-MBP stunnel-5.67 % make
Making all in src
/Library/Developer/CommandLineTools/usr/bin/make  all-am
  CC       stunnel-str.o
str.c:239:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void str_canary_init() {
                    ^
                     void
str.c:248:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void str_stats() {
              ^
               void
str.c:565:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void leak_table_utilization() {
                           ^
                            void
str.c:587:11: error: call to undeclared function 'sk_LEAK_ENTRY_new_reserve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    stats=sk_LEAK_ENTRY_new_reserve(leak_cmp, utilization);
          ^
str.c:587:37: error: use of undeclared identifier 'leak_cmp'
    stats=sk_LEAK_ENTRY_new_reserve(leak_cmp, utilization);
                                    ^
str.c:590:13: error: call to undeclared function 'sk_LEAK_ENTRY_push'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            sk_LEAK_ENTRY_push(stats, leak_hash_table + i);
            ^

I did the wolfssl build following the below approach after building liboqs as detailed in the instruction provided here


aishwaryanarayanan@Aishwaryas-MBP wolfssl % /usr/local/bin/wolfssl-config --version
5.6.4
aishwaryanarayanan@Aishwaryas-MBP wolfssl % ./examples/server/server -v 4 --pqc P521_KYBER_LEVEL5
Using Post-Quantum KEM: P521_KYBER_LEVEL5

aishwaryanarayanan@Aishwaryas-MBP wolfssl % ./configure --enable-stunnel --with-liboqs

aishwaryanarayanan@Aishwaryas-MBP wolfssl % /usr/local/bin/wolfssl-config --version
5.6.4
aishwaryanarayanan@Aishwaryas-MBP wolfssl % ./examples/server/server -v 4 --pqc P521_KYBER_LEVEL5
Using Post-Quantum KEM: P521_KYBER_LEVEL5

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.