Comments (5)
I'm surprised the two forward slashes ends up being a problem. This doesn't happen on my Ubuntu 18.04 build VM. #8 fixes the build problem there with the OQS-OpenSSL repo and I get a successful build, so I'm going to merge that fix.
I'll then look at reproducing your error in a container per your instructions to see what's causing those problems. Depending on the cause and how much work will be required to do a fix will determine if I can put a fix up sooner, or if it'll have to wait and get done with our next release.
Thanks again for the reports!
from pqcrypto-vpn.
I tested with Docker base image ubuntu:18.04 and the issue is the same:
Cloning openvpn ...
***** Running command: git clone -q --branch pqcrypto https://github.com/Microsoft/openvpn openvpn-pq
***** Running command: autoreconf -i -f -v
Traceback (most recent call last):
File "build.py", line 270, in <module>
build_openvpn_linux()
File "build.py", line 185, in build_openvpn_linux
shutil.copy('../oqs-openssl-output/openssl/lib/libcrypto.so.1.0.0', stagepath + '/' + OPENVPN_LINUX_PREFIX + '/lib')
File "/usr/lib/python2.7/shutil.py", line 139, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 97, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory: '/opt/PQCrypto-VPN/openvpn/build/scratch/stage//usr/local/openvpn/lib'
The command '/bin/sh -c cd /opt/PQCrypto-VPN/openvpn/build && python build.py' returned a non-zero code: 1
Dockerfile:
FROM ubuntu:18.04
RUN apt update && apt install -y \
liblz4-dev \
liblzo2-dev \
libpam-dev \
libssl-dev \
libtool \
libtool-bin \
cmake \
make \
autoconf \
python \
git
#Note: oqsrepo merge into master commit: 1d35894
RUN cd /opt && \
git clone https://github.com/microsoft/PQCrypto-VPN.git && \
cd PQCrypto-VPN && \
git checkout 1d35894
RUN cd /opt/PQCrypto-VPN/openvpn/build && python build.py
from pqcrypto-vpn.
Very curious. I'll check it out.
from pqcrypto-vpn.
The double forward slash wasn't actually an issue. The issue there was not all of the needed directories were being created ahead of time, so file operations to place files in them were failing.
It turns out we also rely on a few other command line utilities that are standard on typical Ubuntu installs but are not present in the Docker image.
The script will now skip the Windows build without failure if the Windows-built OQS-OpenSSL DLL's aren't present. At the point where we snapped their tree, OQS-OpenSSL for Windows couldn't be cross-compiled on Linux.
See #10.
from pqcrypto-vpn.
Great. That works! ( That is, #10 fixes all the issues for building.)
from pqcrypto-vpn.
Related Issues (20)
- Enabling KEM and QSIGNATURE of choice in PQCrypto-VPN HOT 2
- OQS OpenSSL fails to run after build. HOT 2
- PQCrypto-VPN builds and runs, but OQS-KEX keys missing in traffic. HOT 15
- dev1.3 branch, build error HOT 2
- Add command-line parameters to skip either the Linux or Windows build
- Add logging to show key exchange algorithm negotiated HOT 1
- build error
- Broken implementation of kyber512, kyber768 and kyber1024 as KEX. HOT 6
- Update Raspberry Pi "post-quantum access point" instructions for PQCrypto-VPN 1.3 HOT 1
- Instructions for more/all liboqs algorithms support (KEMs and signature) HOT 1
- OpenVPN version update? HOT 1
- Compatibility with OQS-OpenSSL_1_1_1 branch of openssl HOT 1
- Curve configuration setting HOT 10
- Integrate with liboqs 0.4.0 HOT 14
- sidhp751 crash - linux HOT 7
- How to build a custom PQCrypto-VPN with latest (dev) liboqs and OQS-OpenSSL (1.1.1k) on Windows 10 HOT 4
- tls-cipher schemes for control channel negotiation request and certificate read issue HOT 38
- Picnic HOT 3
- Build failure at step 1. HOT 3
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 pqcrypto-vpn.