Comments (18)
I think here https://github.com/zeromq/pyzmq/blob/master/examples/security/stonehouse.py
https://github.com/zeromq/pyzmq/blob/master/examples/security/generate_certificates.py @abhiTronix
from vidgear.
We can create cers at runtime or we can create a utility and run it from command line.
Creating certificates at runtime is easier to use for everyone, especially for newcomers to python programming.
from vidgear.
no worries @abhiTronix, just do your best!
from vidgear.
@xamarindevelopervietnam Kindly refer to #52 to test the PR.
from vidgear.
@xamarindevelopervietnam Thanks for this proposal. Kindly briefly explain the context/use of this feature and why it is necessary? along with your proposal. This will help the community to understand what this proposal is actually about.
from vidgear.
I think some one in the middle can capture the frame that Server send to client without security mechanisms. I'm not python developer so I can't take over the task, just interested in this project.
from vidgear.
@xamarindevelopervietnam I'm editing your proposal this time only but next time may be marked as INVALID and will be closed. Kindly use and fill proper template for your proposal next time. Following a template is compulsory to make it comfortable for others to easily understand the issue/context and so that they can make a contribution to this library easily. You can learn more about this in contribution guide. Goodluck.
from vidgear.
thanks @abhiTronix
from vidgear.
my suggestion: we give path to Yaml file and Server and Client can read configurations from Yaml file. Yaml file contain path to certificates.
from vidgear.
@xamarindevelopervietnam Good Idea! can be implemented. Do you have a source/example of such a YAML file or related information? Also, Are you suggesting to store encrypted keys/certificates to this file?
from vidgear.
I have an great example here: https://github.com/jeffbass/imagenode. I mean Yaml file contain path to certificates, Netgear can read Yaml file and get the path to keys/cetificates. Did you get my idea?
from vidgear.
I have an great example here: https://github.com/jeffbass/imagenode. I mean Yaml file contain path to certificates, Netgear can read Yaml file and get the path to keys/cetificates. Did you get my idea?
We can directly provide a certificate paths to NetGear API through a list/dict, So why using YAML file here? Advantages?
from vidgear.
eg. We can setup NetGear with out change from the code, we only need to change Yaml file content and restart system without change any line of code.
from vidgear.
eg. We can setup NetGear with out change from the code, we only need to change Yaml file content and restart system without change any line of code.
Good point. So we need VidGear's own YAML file to store paths, that can be done. Thanks for this info. Do you have source/example of certificates/keys used for encryption in ZmQ?
from vidgear.
Ohk we have to generate these certificates at runtime. Thank you, I'll inform you when this feature will be added. I'll open a PR for that in upcoming days. Stay tuned.
from vidgear.
from vidgear.
@xamarindevelopervietnam I'm dropping the idea of creating YAML file to store paths in favor of using only a particular vidgear directory (for e.g. .vidgear
) dedicated to saving auth certificates. It's more simplified and clean.
from vidgear.
Successfully Resolved & Merged in commit: 6120a29
from vidgear.
Related Issues (20)
- [Question]: I edit individual frames, but the original unearthly video still ends up on YouTube. Why? HOT 15
- [Question]: Fetch Multiple Video from Youtube HOT 3
- [Proposal]: Dropped support for Python 3.7.x legacy HOT 2
- [Question]: How to get original video fps with VideoGear. HOT 8
- [Bug]: ScreenGear's options wrong names HOT 13
- [Bug]: CamGear - Error when loading first segment , while taking picture from youtube streaming HOT 2
- [Bug]: In NetGear client.recv() stucking in a some non returnable loop HOT 4
- [Proposal]: Add type annotations to the code or add stub files HOT 2
- [Proposal]: Add ffmpeg creationflag in Writegear API HOT 1
- [Bug]: frame desynchronization HOT 6
- [Question]: Does VidGear support downloading arbitrary frames and getting video sizes? HOT 4
- Putting a client IP into the Server code? HOT 2
- [Bug]: Stream gear imposes simplified aspect ratios, which does not seem necessary HOT 1
- [Bug]: no sound on output video with bare minimum code on google colab HOT 4
- [Bug]: No video shown on RTSP tested with VLC HOT 2
- [Question]: how to stream frames from opencv capture already in use? HOT 2
- Exception in thread NetGear, zmq.error.Again: Resource temporarily unavailable HOT 7
- [Question]: looping? HOT 2
- [Bug]: Freezes video thread when processing background thread? HOT 5
- [Bug]: Logging issue with yt-dlp HOT 2
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 vidgear.