Comments (15)
Hi, this looks like liboqs
did not get properly installed: Please check step 4 of the instructions carefully: maybe you did not set "<CHROMIUM_ROOT>" correctly for your setting? Maybe try running find . -name oqs.h
to check the whereabouts of this OQS key include file in your chromium source tree.
from oqs-demos.
Hi we are getting a similar issue. We built liboqs successfully (as evident by the tests) and we noticed that the oqs folder is located in include
folder of liboqs/build
as well as liboqs.a
inside liboqs/lib
. Here is a picture of the paths:
Issue: when we go onto building by running autoninja -C out/Default chrome
we get the following error:
admin1@dcs-quantum:~/chromium/src$ autoninja -C out/Default chrome
ninja: Entering directory `out/Default'
ninja: error: '../../third_party/boringssl/src/oqs/lib/liboqs.a', needed by 'obj/base/libbase.a', missing and no known rule to make it
Could I just move around the liboqs?
from oqs-demos.
@baentsch i guess the better question is, since moving around did seem to work until i just ran into another issue:
Where should I have put this build directory in order for me to successfully execute autoninja -C out/Default chrome
from oqs-demos.
@AndyChung1997 i am successfully building now and i re applied the oqs-mods patch. when you applied oqs-mods patch was it successful? I did some git force commands so hopefully all is correct but i was getting the error you mentioned above which seems to have gone away...
from oqs-demos.
@baentsch there is an issue with applying the patch it keeps saying the file is corrupt if you have any guidance on this
from oqs-demos.
Please share the steps that would allow reproduction of the issue (incl. trace of error message, ideally). Thanks.
from oqs-demos.
@AndyChung1997 i am successfully building now and i re applied the oqs-mods patch. when you applied oqs-mods patch was it successful? I did some git force commands so hopefully all is correct but i was getting the error you mentioned above which seems to have gone away...
@taylormadehdz Yes, I am successfully building now. I forgot to apply oqs-mods.patch last time. Thank you for your suggestion.
from oqs-demos.
Hi, this looks like
liboqs
did not get properly installed: Please check step 4 of the instructions carefully: maybe you did not set "<CHROMIUM_ROOT>" correctly for your setting? Maybe try runningfind . -name oqs.h
to check the whereabouts of this OQS key include file in your chromium source tree.
@baentsch Thank you. I forgot to apply oqs-mods.patch last time. Now, my Chromium can work successfully. 😄
from oqs-demos.
@baentsch Hi, I want to verify that Chromium can perform a TLS 1.3 handshake using a post-quantum key-exchange. I navigate to the <CHROMIUM_ROOT>/third_party/boringssl/src
folder, and build OQS-BoringSSL by running mkdir build && cd build && cmake -GNinja ..
. Then the CLI shows No package 'libunwind-generic' found
. Here is a picture of error message :
Will it cause an error in the next step if I ignore this error message?
Then, in the build directory, I run ./tool/bssl server -accept 4433 -www -loop -curves kyber512
. It tells me there is no such directory. Here is a picture of error message :
The previous instructions are executed successfully. How can I fix this issue?
from oqs-demos.
Will it cause an error in the next step if I ignore this error message?
This library unwind
does not ring a bell to me. So you could try to continue without it (but you could also try to install it: What about running apt install libunwind-dev
?). What you should do at the end of building oqs-boringssl
is test it: run python3 oqs_scripts/try_handshake.py
in the "<CHROMIUM_ROOT>/third_party/boringssl/src" folder: If you see a "Connected" in the output, that part works OK.
To the next question: If ./tool/bssl
does not exist, the oqs-boringssl
build failed for sure. Did you run ninja
at all? Or did you only run cmake
?
from oqs-demos.
Wow - I just see in our build instructions that the actual build command (ninja
) is missing: I think, the full command should be mkdir build && cd build && cmake -GNinja .. && ninja
. @xvzcf Do you agree? The main Chromium build does not take care of that, right?
from oqs-demos.
Will it cause an error in the next step if I ignore this error message?
This library
unwind
does not ring a bell to me. So you could try to continue without it (but you could also try to install it: What about runningapt install libunwind-dev
?). What you should do at the end of buildingoqs-boringssl
is test it: runpython3 oqs_scripts/try_handshake.py
in the "<CHROMIUM_ROOT>/third_party/boringssl/src" folder: If you see a "Connected" in the output, that part works OK.To the next question: If
./tool/bssl
does not exist, theoqs-boringssl
build failed for sure. Did you runninja
at all? Or did you only runcmake
?
I ran ninja
, and ./tool/bssl
exists. When I used the newly built Chromium to access the OQS test server, the error message said NO_SHARED_GROUP
. Here is a picture of error message :
Did I miss some steps?
from oqs-demos.
"NO_SHARED_GROUP" means exactly that: Server and client have no KEM algorithms (TLS1.3 groups) in common: You started the test server with "group" (or "curve" in the old terminology) kyber512
while Chromium only supports a small subset as per the documentation: Only these work --> Try starting bssl
for example with group "p256_kyber90s512" and it should work.
from oqs-demos.
"NO_SHARED_GROUP" means exactly that: Server and client have no KEM algorithms (TLS1.3 groups) in common: You started the test server with "group" (or "curve" in the old terminology)
kyber512
while Chromium only supports a small subset as per the documentation: Only these work --> Try startingbssl
for example with group "p256_kyber90s512" and it should work.
@baentsch It can work. Thank you for your help. 😄
from oqs-demos.
UW. Closing issue accordingly.
from oqs-demos.
Related Issues (20)
- Update test server with liboqs 0.9.2 release HOT 3
- Introduce CI mechanism to use specific liboqs/oqs-provider versions
- Add QUIC support HOT 3
- !DOCTYPE ERROR HOT 1
- Not able to get OQS-Chromium browser working - https://openquantumsafe.org/applications/tls.html#chromium HOT 19
- oqs-epiphany not working HOT 11
- qteslapi is not supported by oqs openssl HOT 1
- Dont get Server Temp Key in openssl s_client when testing HOT 1
- Update test server with liboqs 0.10.0 release HOT 8
- HAProxy HOT 3
- httpd docker image is not running HOT 2
- Build failures in CI HOT 1
- openvpn deployment HOT 1
- How to enabled specific KEM algorithms from liboqs in the oqs-demos/openvpn docker build HOT 3
- failed to build nginx HOT 2
- support for nginx-ingress controller HOT 2
- Faling in Building nginx server with pqc certificate HOT 1
- Automate and streamline docker image generation
- Revitalize OQS Demos Project HOT 6
- Curl throwing cipher error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oqs-demos.