Code Monkey home page Code Monkey logo

Comments (18)

KennyDizi avatar KennyDizi commented on May 18, 2024 1

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.

abhiTronix avatar abhiTronix commented on May 18, 2024 1

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.

KennyDizi avatar KennyDizi commented on May 18, 2024 1

no worries @abhiTronix, just do your best!

from vidgear.

abhiTronix avatar abhiTronix commented on May 18, 2024 1

@xamarindevelopervietnam Kindly refer to #52 to test the PR.

from vidgear.

abhiTronix avatar abhiTronix commented on May 18, 2024

@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.

KennyDizi avatar KennyDizi commented on May 18, 2024

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.

abhiTronix avatar abhiTronix commented on May 18, 2024

@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.

KennyDizi avatar KennyDizi commented on May 18, 2024

thanks @abhiTronix

from vidgear.

KennyDizi avatar KennyDizi commented on May 18, 2024

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.

abhiTronix avatar abhiTronix commented on May 18, 2024

@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.

KennyDizi avatar KennyDizi commented on May 18, 2024

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.

abhiTronix avatar abhiTronix commented on May 18, 2024

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.

KennyDizi avatar KennyDizi commented on May 18, 2024

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.

abhiTronix avatar abhiTronix commented on May 18, 2024

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.

abhiTronix avatar abhiTronix commented on May 18, 2024

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.

KennyDizi avatar KennyDizi commented on May 18, 2024

from vidgear.

abhiTronix avatar abhiTronix commented on May 18, 2024

@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.

abhiTronix avatar abhiTronix commented on May 18, 2024

Successfully Resolved & Merged in commit: 6120a29

from vidgear.

Related Issues (20)

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.