Comments (8)
Hi @thiyaneshece,
Thank you for your feedback. You are correct that Windows is not supported.
However, mbedtls
should work under Windows and I do not think that I use any *nix-specific code. With some luck, setting up AppVeyor or another Windows CI service may be sufficient. Would you have any interest in contributing? Otherwise, I will see what I can do.
from python-mbedtls.
Note that I consider this issue a feature request and not a bug.---Not that it makes a huge difference.
from python-mbedtls.
Just a short update on this issue. I have created an AppVeyor account and set up the hook to compile and test there. Now, I am also setting up an MS box locally using Vagrant and Ansible to debug a bit faster. Cheers
from python-mbedtls.
@Synss - Sorry that i was loaded with other activities, could not respond on time. I would say i'm a beginner in python, also i am not aware of AppVeyor setup.
Thanks for information being updated, It would really help me a lot if i get windows platform support for this library.
from python-mbedtls.
Hi! I have not forgotten you but I have had an IRL (small) accident and Windows is out of my confort zone (although I have interest in having this feature). I shall come back to this quickly.
from python-mbedtls.
Hi! Issue #36 reported missing files in the archive. That could very well be the cause for the failing installation.
from python-mbedtls.
Hi! I still do not have wheel for windows but could you try again with 1.4.1 and report here whether it worked? I have fixed a problem with the archive.
from python-mbedtls.
Hi! The lastest commit on master
should let you build on Windows. You still need to install mbedtls
beforehand and set the INCLUDE
and LIBPATH
variables if mbedtls
is not in the expected locations.
I have had success compiling mbedtls
from git in the current 2.16 branch with the following call:
MSBuild.exe /NoLogo /MaxCpuCount /p:Configuration=Release /p:Platform=x64 /p:PlatformToolset=v140 /p:WholeProgramOptimization=False .\visualc\VS2010\mbedTLS.sln
from the mbedtls
root (say, $env:MBEDTLSROOT
).
And then, from the python-mbedtls
root, you need to set INCLUDE
to the include
directory from mbedtls
(e.g.: $env:MBEDTLSROOT\include
) and LIBPATH
to something like $env:MBEDTLSROOT\visualc\VS2010\x64\Release
and python setup.py install
should work.
Note that I run everything under PowerShell and from the "x64 Native Tools Command Prompt for VS 2019". I am not sure whether this is a requirement or not.
This is still a bit involved and I will keep working on making wheels for Windows. That should be easier now.
from python-mbedtls.
Related Issues (20)
- Possibility to change mbedtls_ssl_conf_read_timeout HOT 7
- Chunking while sending more than 1024B data during handshake HOT 5
- TLS error when running client.py and server.py HOT 2
- server.py and client.py still have bugs when running on the Ubuntu system. HOT 2
- DTLSConnection Id Support HOT 1
- Set DH params on Server.py HOT 6
- won't install/compile HOT 1
- fails to run HOT 2
- error control nb args HOT 1
- Executing server.py gives:
- server.py error HOT 2
- Tests fail if mbedtls built without ARIA support HOT 1
- Issue with loading private keys and trailing null bytes HOT 4
- AES GCM 128 and 256 fails TAG test vector HOT 2
- Provide an example of DTLS server and client with certificates instead of PSK HOT 14
- Possibility to change MTU (max_frag_len) fragmentation size. HOT 8
- TLSWrappedSocket.shutdown(int) does not send DTLS Alert Close Notify message (mbedtls_ssl_close_notify) HOT 4
- Python handle of "record from another epoch: expected 1, received 0" HOT 4
- test_version() test fails due to Mbed TLS spelling change HOT 2
- Random error in HelloVerifyRequest() HOT 6
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 python-mbedtls.