Anyone had any success running this on a windows machine? I'm not sure what my gnupghome directory should be. I was able to get gpg to work via command line in wsl, but I can't seem to find the .gnupg dir in windows. Is there another download I need to perform to work outside wsl?
@practicalpythonsolutions-b44786 ай бұрын
The Codes can be found here: github.com/pmahon2016/extract_gps_info
@practicalpythonsolutions-b44786 ай бұрын
github.com/pmahon2016/extract_gps_info.git
@marijkecaronmonchen7 ай бұрын
incroyable video qui m beaucoup aidé
@practicalpythonsolutions-b44787 ай бұрын
github.com/pmahon2016/file_encrypt.git
@Usopper.D7 ай бұрын
Interesting!
@practicalpythonsolutions-b44786 ай бұрын
Thank you very much!
@xya66487 ай бұрын
I actually needed this. Thanks :)
@koa131910 ай бұрын
Thank you a lot for this video, i really struggled to find any documentation or guide on PyCryptoDome, it's also very well explained, and you have a nice voice, thank you a lot!
@mw1926 Жыл бұрын
For anyone having difficulties with the code, you have to add brackets after SHA256 ==> SHA256(). I found this change as i read through the documentation of the library, i guess they changed the code a bit after 3 years....
@DeltaFusion-jf8jc Жыл бұрын
I am trying to make a motion tracking camera and I need help if you see this please respond
@michelonesti Жыл бұрын
Hi there! I think this libraries (pyheif e exifread) are no longer compatible with the most recent versions of python (3.9, 3.11...). Anyone found a solution for this? I've tried with Pillow, but it does't work.
@DaveSullivan86010 ай бұрын
i'm currently having a problem loading pillow and pyheif also
@rogersjgregory Жыл бұрын
I tried this code word for word, and nothing happens. I wave in front of the motion sensor and the function MOTION is never called. Any advice? I installed the PIR Motion Sensor exactly as you did.
@practicalpythonsolutions-b4478 Жыл бұрын
I would try another sensor. These devices can be finicky. I’m python…do you get the waiting after the file is run?
@othmaneazizi5849 Жыл бұрын
Merci bcp grace a toi j l ai installé merci merci mon frrrrr 💘
@office-lf9xx Жыл бұрын
Très bonnes explications, merci de faire d'autres vidéos
@practicalpythonsolutions-b44786 ай бұрын
Je serais heureux de créer d'autre vidéos en français. Pourriez-vous me dire ce que vous aimeriez apprendre?
@office-lf9xx Жыл бұрын
Très bonnes explications, merci de faire d'autres vidéos
@practicalpythonsolutions-b44786 ай бұрын
Merci bien!
@office-lf9xx Жыл бұрын
Merci c'est très bonnes explication
@kaderali6246 Жыл бұрын
hi, can you please shaw me haw to encrypte as AES 256 bits, thanks
@levon9 Жыл бұрын
Super clear and concise, thank you for sharing. Google has tightened up security since the making of this video, so it's necessary to enable a third party app authorization - not very complicated.
@practicalpythonsolutions-b44786 ай бұрын
Thank you for your feedback, I will create a short video to show how to enable a 3rd party app authorization.
@sumalatha24 Жыл бұрын
Very helpful video. When Iam using online aes encryption tool it is giving different ciphertext. May be IV we used here is random and not specified in program. One doubt sir if we give IV constant we can get same answer as online encryption tools.
@noaprevilon9414 Жыл бұрын
What's the name of the program u start the video in?
@practicalpythonsolutions-b4478 Жыл бұрын
pyCrypto?
@gabriel.soulard5924 Жыл бұрын
merci pour la partie où vous expliquez comment télécharger edupython sur Mac... je n'arrivais pas à trouver mais grâce à vous c'est bon !
@johnmontalbano6027 Жыл бұрын
This code isn't working for me in February 2023.
@helo1345 Жыл бұрын
So when we're importing bob's public key I keep getting an error code 2 and google seems to think this is due to the public key being unsigned. I'm on Windows which is probably making this harder. Any advice?
@helo1345 Жыл бұрын
@@practicalpythonsolutions-b4478 I had to adapt it to Python but this did end up working! Thank you! Now that its imported and it lists when I do gpg --list-keys my code says that its unable to find the key lol Thank you for your help!
@helo1345 Жыл бұрын
@@practicalpythonsolutions-b4478 One more question if you don't mind. IF the versions of PGP are different between two users (says bob was using 1.4.23 and alice was using 2.x) Would that create a lot of problems?
@ADZA29 Жыл бұрын
How can u implement a second player in this game?
@practicalpythonsolutions-b4478 Жыл бұрын
Just a basic game. I don’t think I aver factored a second player. Sorry.
@bdhaliwal24 Жыл бұрын
Thanks for doing this tutorial, it was one of the few places on the web to get how to get the EXIF date from HEIC files. Apple makes everything a pain in the ass.
@freeyow4405 Жыл бұрын
It's piece of priceless information. Thank you sir
@practicalpythonsolutions-b44786 ай бұрын
You are very welcome! Sorry for the late reply.
@happinin Жыл бұрын
how would we get it if mysecretpassword was a variable and we wanted to store it from input() ? you cant put the b in the b'<key password>' in front of a variable...
@nikachachua5712 Жыл бұрын
pls can you try it on orange pi ? there is nothing about it on the internet
@practicalpythonsolutions-b44786 ай бұрын
Hi. Sorry for the late reply. I will create a short to answer all the concerns.
@storageaccountiii8917 Жыл бұрын
I did not use it yet but loved it.
@practicalpythonsolutions-b44786 ай бұрын
Hi. Sorry for the late reply. Were you able to use it?
@amaanashiqaa Жыл бұрын
how can i extract public key from digital certificate?
@fenylmecc6347 Жыл бұрын
thanks so much, but I tried same thing with a command that runs a python script on my remote server, but the script is not running? is there anything else needed to run a python script on my remote server
@fenylmecc6347 Жыл бұрын
@@practicalpythonsolutions-b4478 thanks for the reply. I tried a command that excutes python script in exec_command. exactly this client.exec_command("python3 script.py"), but it is not being excuted. also tried to create a bash script that excutes the python script and tried client.exec_command("./script.sh"), still not working. I've logged in to my remote server with putty and tried to run both the python script and bash script from there, both works fine
@shashankagarwal232 жыл бұрын
please see this error Traceback (most recent call last): File "D:\Codes\aes_crypt.py", line 9, in <module> cipher = AES.new(key, mode, IV) File "C:\Users\ms\AppData\Local\Programs\Python\Python310\lib\site-packages\Crypto\Cipher\AES.py", line 232, in new return _create_cipher(sys.modules[__name__], key, mode, *args, **kwargs) File "C:\Users\ms\AppData\Local\Programs\Python\Python310\lib\site-packages\Crypto\Cipher\__init__.py", line 79, in _create_cipher return modes[mode](factory, **kwargs) File "C:\Users\ms\AppData\Local\Programs\Python\Python310\lib\site-packages\Crypto\Cipher\_mode_cbc.py", line 293, in _create_cbc_cipher return CbcMode(cipher_state, iv) File "C:\Users\ms\AppData\Local\Programs\Python\Python310\lib\site-packages\Crypto\Cipher\_mode_cbc.py", line 97, in __init__ c_uint8_ptr(iv), File "C:\Users\ms\AppData\Local\Programs\Python\Python310\lib\site-packages\Crypto\Util\_raw_api.py", line 143, in c_uint8_ptr raise TypeError("Object type %s cannot be passed to C code" % type(data)) TypeError: Object type <class 'str'> cannot be passed to C code
@crazex1932 жыл бұрын
how can i encrypt files that are in a directory
@practicalpythonsolutions-b44782 жыл бұрын
for fname in Path('YOUR PATH HERE').rglob('*'): [encrypt fname]
@practicalpythonsolutions-b44782 жыл бұрын
This is how I did it …by looping through each file. Hope this helps
@crazex1932 жыл бұрын
how can i encrypt files that are in a directory
@crazex1932 жыл бұрын
how can i encrypt files that are in a directory
@practicalpythonsolutions-b44786 ай бұрын
Hi. Sorry for the late reply. I will create a short to answer your question.
@pragatisingh47112 жыл бұрын
Can you provide the link of image that u use in the video
Can I able to run multiple commands with this code? I have a python file inside a jetson nano in desktop, so I need to make an application with tkinter to open that file from another system which has windows os through ssh.. Is it possible?
@rahulshukla50332 жыл бұрын
why I am getting decrypted_data.valid is False decrypted_data.trust is None
@joe-joe35402 жыл бұрын
Hi,I like your videos.I trying to make an encryption program in CBC,but it doesn't decrypt files, could you help me please
@practicalpythonsolutions-b44786 ай бұрын
Hi. Sorry for the late reply. I will create a short to answer your question.
@shadow_self85642 жыл бұрын
How to save the result and send it to mail
@practicalpythonsolutions-b44786 ай бұрын
Hi. Sorry for the late reply. I will create a short to answer your question.
@UndercoverDog2 жыл бұрын
Thank you, Irish Guy <3
@rahulshukla50332 жыл бұрын
Amazing work✌️
@practicalpythonsolutions-b44786 ай бұрын
Thank you!
@thedarkknight5792 жыл бұрын
❤️
@MsEady1232 жыл бұрын
Thank you so much for your video. I played around with the code and now I have a better understanding.
@practicalpythonsolutions-b44786 ай бұрын
Hi. Sorry for the late reply. I am glad you found it useful. I am back online so if you need help, please let me know.
@kewei47672 жыл бұрын
Thank you so much for the video. If there is one video that sums up all the basics of GPG it would definitely be this!! 😄
@practicalpythonsolutions-b44786 ай бұрын
Hi. Sorry for the late reply. Thank you for your great feedback!
@llIIllIlIIllX_XIillIIllIIllIll2 жыл бұрын
where is the github link? ....
@practicalpythonsolutions-b44782 жыл бұрын
github.com/pmahon2016/symmetric_encryption.git
@jaydenng55682 жыл бұрын
Sir. Do you have any idea in converting HEIC files to PNG files with Python??
@James-no2oc2 жыл бұрын
How would you do this for multiple clients?
@practicalpythonsolutions-b44782 жыл бұрын
Multiple clients for the one server? You may need ssh listening on multiple ports. I have not tried this tho