Code Monkey home page Code Monkey logo

libmumble-legacy's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libmumble-legacy's Issues

git submodule openssl failed to download

$ git submodule update
Cloning into '/home/rice/libmumble/3rdparty/gtest'...
warning: redirecting to https://chromium.googlesource.com/external/gtest.git/
Cloning into '/home/rice/libmumble/3rdparty/gyp'...
Cloning into '/home/rice/libmumble/3rdparty/libuv'...
Cloning into '/home/rice/libmumble/3rdparty/openssl'...
fatal: Unable to look up openssl.net (port 9418) (Name or service not known)
fatal: clone of 'git://openssl.net/openssl' into submodule path '/home/rice/libmumble/3rdparty/openssl' failed
Failed to clone '3rdparty/openssl'. Retry scheduled
Cloning into '/home/rice/libmumble/3rdparty/protobuf'...
Cloning into '/home/rice/libmumble/3rdparty/openssl'...
fatal: Unable to look up openssl.net (port 9418) (Name or service not known)
fatal: clone of 'git://openssl.net/openssl' into submodule path '/home/rice/libmumble/3rdparty/openssl' failed
Failed to clone '3rdparty/openssl' a second time, aborting

I wonder if anybody tried to build libmumble recently.

git complains it cannot find openssl. I guess i would try to find a workaround

Selecting the correct opensslconf.h for non-OpenSSL.gyp targets

Since commit 593bc70, we now include OpenSSL's header hierarchy in the opensslbuild directory in 3rdparty.

This is nice, because we no longer depend on scripts to generate the header hierarchy using symlinks or by copying the files.

One issue remains, however: The opensslconf.h header selects its 'correct' version depending on preprocessor defines like the following:

LIBMUMBLE_OPENSSLCONF_X86=1
LIBMUMBLE_OPENSSLCONF_X86_64=1
LIBMUMBLE_OPENSSLCONF_X86_64_LLP=1

However, since these are not defined for anything but OpenSSL.gyp itself, all targets that depend on OpenSSL will be using opensslconf-dist.h.

I am not sure this is a problem, but the many headers in the OpenSSL tree that do include opensslconf.h seem to signal that this is indeed an issue.

One possibility is to set the defines in common.gypi so all targets have access to them - but I'm not sure this is the cleanest way to solve the issue.

Trouble building

What is the status of this project? Do you have binaries published anywhere?

I would like to evaluate the possible usage of this project inside of an electron application. I have been using node-mumble but haven't been able to really get it to work. Running test.bat doesn't seem to be working for me as is.

  5>E:\code\libmumble\test\3rdparty\opensslbuild\libcrypto.vcxproj(15,3): error MSB4019: The imported project "C:\Pr
    ogram Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.Default.props" was not found. Confirm that the path i
    n the <Import> declaration is correct, and that the file exists on disk.

Which is indeed missing, though I don't know why it missing nor why it's looking for a file in that location.

Stricter checking for self-signed certificates

As-is, libmumble isn't as strict about self signed certificates as it should be. It doesn't check for the 'certificate signing' key usage.

Take for example the replay-server certificate I'm working with at the moment, created using the same template as selfsign-server from the tree:

$ openssl verify -verbose -issuer_checks -purpose sslserver -CAfile testdata/x509/replay-server/replay-server.crt testdata/x509/replay-server/replay-server.crt 
testdata/x509/replay-server/replay-server.crt: CN = localhost, O = libmumble
error 32 at 0 depth lookup:key usage does not include certificate signing
CN = localhost, O = libmumble
error 32 at 0 depth lookup:key usage does not include certificate signing
CN = localhost, O = libmumble
error 32 at 0 depth lookup:key usage does not include certificate signing
CN = localhost, O = libmumble
error 32 at 0 depth lookup:key usage does not include certificate signing
CN = localhost, O = libmumble
error 32 at 0 depth lookup:key usage does not include certificate signing
CN = localhost, O = libmumble
error 32 at 0 depth lookup:key usage does not include certificate signing
CN = localhost, O = libmumble
error 20 at 0 depth lookup:unable to get local issuer certificate

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.