Comments (8)
Same issue on a ARMv7l server. There should be an ARM build/release 👍
Linux c1-10-1-4-39 3.17.0-119 #1 SMP Thu Nov 20 14:15:44 CET 2014 armv7l armv7l armv7l GNU/Linux
from sslyze.
Someone made a pull request for arm https://github.com/nabla-c0d3/nassl/pull/21/commits but maintaining compatibility with OS X, Linux and Windows is already pretty complex and time-consuming. I don't think I have time to add yet another platform.
from sslyze.
It seems to me if you let aside cross-compilation, the needed parts are already there since this should be only an architectural flavor of linux. You'll just have to replace OPENSSL_TARGET with 'linux-armv4' in buildAll_unix.py.
Afterwards, copy the built files manually from nassl/build/lib.linux-arm[..]/* to nassl/test/ and run the tests manually by doing "python2.7 -m unittest discover --pattern=*_Tests.py" in the test directory.
If you copy the directory nassl/test/nassl to the root directory of sslyze afterwards, it should be working fine for ARM (tested on Raspberry Pi Model B armv6h & Cubietruck armv7l, both running Arch Linux ARM).
There may be a better way to do this, but it in my tests it worked fine. If needed, I can provide explanatory build instructions.
That being said, if you just want a working, current build of sslyze 0.11 for ARM, you may use mine (working on both armv6 & armv7):
https://cloud.nf-design.eu/d/009a0e61bb/
from sslyze.
I would definitely merge a pull request on nassl to add support for arm in buildAll_unix; it sounds like it only requires switching the OPENSSL_TARGET ?
from sslyze.
Sorry for the late answer - I think it should be enough to switch OPENSSL_TARGET to "linux-armv4" when running on ARM. I don't know enough about pythons architecture() and sys/platform to suggest a value to check for here, though.
Additionally, as pointed out above, the built files will be in a different directory, which should be the case for every different architecture anyway if I grasp the code correctly.
This would make building on the target platform feasible - I think cross-compilation would introduce to much overhead to the sslyze build.
from sslyze.
Closing this here as it is purely an nassl issue, specifically its C extension. I would be willing to merge a pull request on the nassl repo for compiling on an ARM platform; the build script is a lot cleaner now and it should be easy to add it.
from sslyze.
It seems to me if you let aside cross-compilation, the needed parts are already there since this should be only an architectural flavor of linux. You'll just have to replace OPENSSL_TARGET with 'linux-armv4' in buildAll_unix.py.
Afterwards, copy the built files manually from nassl/build/lib.linux-arm[..]/* to nassl/test/ and run the tests manually by doing "python2.7 -m unittest discover --pattern=*_Tests.py" in the test directory.
If you copy the directory nassl/test/nassl to the root directory of sslyze afterwards, it should be working fine for ARM (tested on Raspberry Pi Model B armv6h & Cubietruck armv7l, both running Arch Linux ARM).There may be a better way to do this, but it in my tests it worked fine. If needed, I can provide explanatory build instructions.
That being said, if you just want a working, current build of sslyze 0.11 for ARM, you may use mine (working on both armv6 & armv7):
https://cloud.nf-design.eu/d/009a0e61bb/
Hi where can i download sslyze for arm7.. i have tried all other options to install it nothing works... need support .. thanks.
from sslyze.
For those running into this issue trying to get sslyze working on Raspberry Pi, the following worked for me:
- Manually build nassl (this takes a while):
git clone https://github.com/nabla-c0d3/nassl.git
cd nassl
pip install --upgrade pip setuptools wheel
pip install -r requirements-dev.txt
invoke build.all
cd ..
- Clone sslyze and install dependencies
git clone https://github.com/nabla-c0d3/sslyze.git
cd sslyze
sed -i 's/"nassl/#"nassl/g' setup.py # Comment out nassl from pip dependencies
pip install -e .
pip install -r requirements-dev.txt
cp -r ../nassl/nassl nassl
- Use sslyze
python3 -m sslyze [...]
from sslyze.
Related Issues (20)
- Servers requesting client cert can cause scan to hang forever if server closes connection HOT 2
- Cannot instantiate default MozillaTlsConfigurationChecker - JSON with definition incorrectly formatted HOT 1
- Remove support for Python 3.7 HOT 1
- Remove support for pydantic 1.x HOT 1
- centos7+python3.11 Segmentation fault HOT 2
- Bump upper pydantic requirement HOT 2
- "Server rejected the connection" but server is healthy HOT 1
- ssl.match_hostname() is deprecated HOT 6
- _ConnectivityTesterThread stuck with uncaught error HOT 1
- Etherscan HOT 1
- Add support for Python 3.12 HOT 3
- Please support pydantic-2.5.3 HOT 1
- Scan hangs forever when "invalid padding" error occurs HOT 2
- CLI parameter negation HOT 1
- Switch to cryptography for x509 chain validation HOT 1
- Client Initiated Renegotiation False Positive HOT 1
- Please Add to the 5.1.3 Release Notes That It Is the Last Version to Support Windows 7 HOT 1
- Please bump cryptography requirement upper bound as there are known vulnerabilities in cryptography <42 HOT 2
- by default sslyze is now skipping secure header check
- JSON output breaks if OCSP response is not successful
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 sslyze.