How to encrypt, sign and decrypt messages using GnuPG on macOS

  Рет қаралды 29,374

Sun Knudsen

Sun Knudsen

Күн бұрын

Пікірлер: 80
@devilsapprentice6081
@devilsapprentice6081 4 жыл бұрын
Its really a shame that a channel with such good content has so few subscribers. It tells us either there are way way better channels related to computer security or people are just lazy and/or dumb to not think about these issues
@sunknudsen
@sunknudsen 4 жыл бұрын
This channel is just getting started. Feel free to share it outside of KZbin. Thanks for the push!
@m.e.bentoo2271
@m.e.bentoo2271 2 жыл бұрын
@@sunknudsen Yeah, I agree so I have subscribed and want to donate something. I do have a difficult time following his speech because he talks so fast, lowers his voice and things are not working right away but I think he knows what he is doing and is sincere. Oh, my, I just saw this reply is to Sun himself. See my comment above for how to donate at least something to you. Ok?
@_marcobaez
@_marcobaez 7 ай бұрын
Don't worry we are appreciating him :D
@edhead76
@edhead76 28 күн бұрын
I think it's sadly latter. But honestly, one doesn't appreciate security as much until it happens to them. I speak from experience. lol
@camelotenglishtuition6394
@camelotenglishtuition6394 Жыл бұрын
I really enjoy your channel dude..nice work
@RougeG10
@RougeG10 4 жыл бұрын
just found this channel, and subbed. no doubt it will blow up.
@sunknudsen
@sunknudsen 4 жыл бұрын
Thanks for the push Jay!
@alexanderstarnes6328
@alexanderstarnes6328 3 жыл бұрын
This man is a life saver. Thank you for the helpful tips
@vihuvac
@vihuvac 3 жыл бұрын
Amazing video! I'm Looking forward to seeing an advanced guide, for instance, to encrypt a message and decrypt it using an email client, it'd be very useful to teach our family to start using it in a friendly way. Thank you very much sun!
@samdelahunty1506
@samdelahunty1506 3 жыл бұрын
Looks great! Very interesting, although I have to admit I need a version for dummies, as I certainly could not apply the first thing on GnuPG still.
@LavYash
@LavYash 4 жыл бұрын
Sun, thanks for all the great videos! I really want to have encryption built in my workflow. However, I have to send attachments and images too when communicating. I saw that in the video, we only encrypted some text. If we want to encrypt images and files too, how do we go about it? I'm sorry if it's a silly question but I'm so new to all this.
@sunknudsen
@sunknudsen 4 жыл бұрын
Great question... I will keep it in mind for a future episode.
@LavYash
@LavYash 4 жыл бұрын
@@sunknudsen Thanks!
@_marcobaez
@_marcobaez 7 ай бұрын
Hey Sun! Awesome video! How would you know when someone messages you back? Do you get an email notification on your regular email you wrote?
@Atomental_Dr.Forest
@Atomental_Dr.Forest 3 жыл бұрын
hoo tks a lot for your workflow and tips .. they're really useful keep it up !
@brokiama
@brokiama 3 жыл бұрын
Hey, loved the video and your website. Can you inform me about the infrastructure about the website. I'd really like to explore more.
@sunknudsen
@sunknudsen 3 жыл бұрын
Hey Burak, what do you mean by infrastructure about website? This appears to be a good question to ask on github.com/sunknudsen/privacy-guides/discussions.
@JuicedGiraffe
@JuicedGiraffe 3 жыл бұрын
so at around 11:45 it seems i cant cat run my file as its saying its not on my computer but i have the key file on my backround
@Marinate305
@Marinate305 Жыл бұрын
Sun, thanks for everything. I have an older MBP running Catalina. I downloaded Brew, but Brew and Apple no longer support that macOS (old) version. Is this something I need to be concerned with? I’m looking to download GnuPG among other things. Thanks!
@Misterdollas
@Misterdollas 4 жыл бұрын
How can I encrypt a message using the receiver Public PGP key?
@sunknudsen
@sunknudsen 4 жыл бұрын
This should work... sunknudsen.com/privacy-guides/how-to-encrypt-sign-and-decrypt-messages-using-pgp-on-macos-adding-privacy-to-email#paste-encrypt-and-sign-message-enter-line-break-and-use-command
@shell11
@shell11 3 жыл бұрын
How should be stored and keep backupped our PGP keys and public keys of our friends?
@geoedge123
@geoedge123 4 жыл бұрын
Subbed !! 👍🏽 do more!! Good knowledge
@sunknudsen
@sunknudsen 4 жыл бұрын
Thanks for the push 😊
@SeanDon
@SeanDon 4 жыл бұрын
is it Okay to use Proton Mail as The email for my Gnu User Identity Profile ?
@sunknudsen
@sunknudsen 4 жыл бұрын
Sure, although I personally favor using a domain name under my control (example: @sunknudsen.com).
@saditya
@saditya Жыл бұрын
very underrated.
@m.e.bentoo2271
@m.e.bentoo2271 2 жыл бұрын
Hello Mr. Sun. Sorry I am so slow at understanding what you do but I want to learn more. How do I go about making a donation to you so's I can ask more questions and learn more, or a little bit more about using Terminal? Homebrew will not download for me and the commands you publish do not work. I've also tried to check which version of Homebrew I have using the command you have published in one of these videos and all I get is an error message. Went to the Homebrew page and it still wouldn't download and install. I'm using Mac OS Monterey 12.6. Thanks
@juanchocirera
@juanchocirera 2 жыл бұрын
I create a pair of keys as well Sun teach. When I edit the key to change the passwd, it asking me for secret passphrase for both, (sec and ssb) but passphrase seams do not match with ssb. That’s possible ? I mean how is possible to have different passphrase ?
@polgzz
@polgzz 3 жыл бұрын
Sun, what do you think about the protocol that Tutanota uses? It's supposed to allow forward secrecy as well. Obviusly it would need both users to use the service, but I think it goes one step "above" Proton (and therefore, standard PGP) in that matter. And also email subjets are encrypted as well, unlike Proton. My understanding is that is FOSS based. Can you give your opinion? The bad side is depending on their implementation, obviously, unlike pgp
@enkidughom2508
@enkidughom2508 3 жыл бұрын
Awesome work buddy!
@tjex
@tjex 3 жыл бұрын
In step 5 the url has hkps, and now on your online walkthrough step 5 doesn't exist. Is hkps a typo? Would think it should be as the actual url is: https
@sunknudsen
@sunknudsen 3 жыл бұрын
Hey Tillman, thanks for the heads-up. hkps (HKP over TLS) is not a typo... it’s a scheme specific to key servers (see en.wikipedia.org/wiki/Key_server_%28cryptographic%29).
@MichaelSharpTechniSmart
@MichaelSharpTechniSmart 4 жыл бұрын
Hi Sun, it went well but I am on Big Sur, and won't go back to Catalina. In terminal I entered: gpg --encrypt test.txt and it created a file called test.txt.gpg I did cat test.txt.gpg and it gave me garbage, so I did gpg --decrypt test.txt.gpg and it displayed the decrypted text. Did I find a new way to do it? I was not able to get it to enter a recipient email. homebrew warning? Warning: You are using macOS 11.0. We do not provide support for this released but not yet supported version...blah, blah, blah. Warning: gnupg 2.2.25 already installed Thanks for an awesome channel.
@sunknudsen
@sunknudsen 4 жыл бұрын
I haven't upgraded to Big Sur yet... I believe you might be using the symmetric encryption mode vs public key encryption mode. The latter is what is used in the context of email and requires the recipient public key.
@HauIchDich
@HauIchDich 2 жыл бұрын
What to do when terminal stops processing on step #4 at the point: "We need to generate a lot of random bytes..."? Nothing happened after terminal starts to entropy :-(
@sunknudsen
@sunknudsen 2 жыл бұрын
Hey, please reach out on github.com/sunknudsen/privacy-guides/discussions.
@sultanal-hamdani5343
@sultanal-hamdani5343 4 жыл бұрын
Zsh: command code not found: code!? Please help
@sunknudsen
@sunknudsen 4 жыл бұрын
Hey, no need to run the code command... This part of the episode was not part of the guide... I was using Visual Studio Code to show you guys the content of raw.githubusercontent.com/Homebrew/install/master/install.sh. The required steps are available at sunknudsen.com/privacy-guides/how-to-encrypt-sign-and-decrypt-messages-using-pgp-on-macos-adding-privacy-to-email.
@sultanal-hamdani5343
@sultanal-hamdani5343 4 жыл бұрын
@@sunknudsen Thank you so much!
@snakeblue2484
@snakeblue2484 3 жыл бұрын
Is there a Discord or any other way to communicate with you/ the community ?
@sunknudsen
@sunknudsen 3 жыл бұрын
Have you stumbled upon github.com/sunknudsen/privacy-guides/discussions?
@Bennsey
@Bennsey 4 жыл бұрын
Ahm hey Sun! I was just trying to deactivate homebrew's analytics, but it won't work. I copied "brew analytics off", but there was just this message: "zsh: command not found: brew" EDIT: Actually there is a Warning right above the "Installation successful!" line. It says: "Warning: /opt/homebrew/bin is not in your PATH." I think something with the installation went wrong. What should I do? And happy new year :)
@sunknudsen
@sunknudsen 4 жыл бұрын
Hey, looks like the Homebrew installation failed... Have you tried running "brew analytics off" in a fresh window? Perhaps some paths have not been sourced. If that doesn't work, have you tried reinstalling Homebrew? Strange... "/opt/homebrew/bin" doesn't exist on my system.
@Bennsey
@Bennsey 4 жыл бұрын
@@sunknudsen Ok. It's getting strange now. When I was trying to run the "brew analytics off" command again (in a new window) there was the same error as before. So I tried to uninstall Homebrew using this command: "/bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"" Then there came this : "/bin/bash: line 193: brew: command not found Failed to locate Homebrew!" So I tried to install Homebrew again, which went very fast (because it was already downloaded). And now I have the same problem as before. Something clearly is wrong here. Btw. I'm using a MacBook Air (M1) with MacOS BigSur. I am very much suspecting this to cause this problems... ':D What do you say? Ah... And thanks for answering in the first place :)
@Bennsey
@Bennsey 4 жыл бұрын
@@sunknudsen solved the Problem! The file was, even when homebrew was reinstalled, in the wrong location (/opt/homebrew/bin). So I relocated using the command ($export PATH=/usr/local/bin:/opt/homebrew/bin). Now everything seems to work. :) And by the way... Do you mind creating a chatroom for our community? I think that would be amazing.
@bestanomon
@bestanomon 3 жыл бұрын
Hello I Installed good. But I wanna delete . Ho can I do ?
@huckelberryfinn23
@huckelberryfinn23 3 жыл бұрын
I am having a difficult time "Export John's PGP public key."
@sunknudsen
@sunknudsen 3 жыл бұрын
Hey, please reach out via github.com/sunknudsen/privacy-guides/discussions.
@thorbag8695
@thorbag8695 4 жыл бұрын
Hey sun, could you make a simple tutorial for sending emails with the terminal, one tho u did try it out here, I wanna send emails to anybody using this pls
@sunknudsen
@sunknudsen 4 жыл бұрын
If I understand the question correctly, you would like to send encrypted emails to anybody?
@polgzz
@polgzz 3 жыл бұрын
@@sunknudsen I would like to know if I unterstood this correctly. I should encrypt and sign the text locally and then attach the files with what I encrypted and my public key to the email I send FROM whatever mail service I happen to use? 🤔 (preferably not gmail 😆). Is that right? I've always seen the tutorials by people that have their own mail server/domain so I never got that part clearly, because I don't have a website neither my own mail!
@polgzz
@polgzz 3 жыл бұрын
Linux users from 3:30 to 7:32 -> 😴😴😴😴😴😴😴 and then "MaC iS eASieR tO liVe WiTh" 🤪 🤣🤣. (I'm kidding, love you Sun and all mac users 🙃🙃)
@phgo5691
@phgo5691 4 жыл бұрын
Great channel!
@EmreErdogan-k8t
@EmreErdogan-k8t 11 ай бұрын
It says code not found
@SeanDon
@SeanDon 4 жыл бұрын
Web of trust episode deff a request in my behalf
@sunknudsen
@sunknudsen 4 жыл бұрын
Thanks for sharing. Noted!
@bilthon
@bilthon 2 жыл бұрын
"This link was forcefully removed by KZbin"
@vivianwilson6884
@vivianwilson6884 3 жыл бұрын
can you go on the dark web with your personal computer?
@joncruzvlv
@joncruzvlv 2 жыл бұрын
Bro saying so much just do it.. get to the point
How to verify PGP digital signatures using GnuPG on macOS
17:26
Sun Knudsen
Рет қаралды 16 М.
Why I no longer use a VPN (most of the time) and nor should you
11:25
Sun Knudsen
Рет қаралды 1,3 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
What is a Passkey?
18:05
Ask Leo!
Рет қаралды 60 М.
7 Cybersecurity Tips NOBODY Tells You (but are EASY to do)
13:49
All Things Secured
Рет қаралды 985 М.
Why Signal is more private and secure than iMessage and SMS
15:56
Managing Your PGP Keys
22:19
Infosec Bytes
Рет қаралды 89 М.
Why VPNs are a WASTE of Your Money (usually…)
14:40
Cyberspatial
Рет қаралды 1,5 МЛН
Tutanota review and why it’s one of a kind (compared to Proton)
15:51
Basic File Encryption with GPG key pairs!
8:36
Luke Smith
Рет қаралды 140 М.