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

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ย. 2024

ความคิดเห็น • 82

  • @devilsapprentice6081
    @devilsapprentice6081 4 ปีที่แล้ว +18

    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 ปีที่แล้ว +1

      This channel is just getting started. Feel free to share it outside of TH-cam. 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 5 วันที่ผ่านมา

      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

  • @unutilizzatoreyoutubbicoca7749
    @unutilizzatoreyoutubbicoca7749 4 ปีที่แล้ว +10

    Just found this channel. Pure Gold, keep it up!

  • @RougeG10
    @RougeG10 4 ปีที่แล้ว +7

    just found this channel, and subbed. no doubt it will blow up.

    • @sunknudsen
      @sunknudsen  4 ปีที่แล้ว

      Thanks for the push Jay!

  • @_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?

  • @LavYash
    @LavYash 4 ปีที่แล้ว +5

    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  3 ปีที่แล้ว +2

      Great question... I will keep it in mind for a future episode.

    • @LavYash
      @LavYash 3 ปีที่แล้ว

      @@sunknudsen Thanks!

  • @saditya
    @saditya ปีที่แล้ว +2

    very underrated.

  • @alexanderstarnes6328
    @alexanderstarnes6328 3 ปีที่แล้ว +2

    This man is a life saver. Thank you for the helpful tips

  • @vihuvac
    @vihuvac 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

    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.

  • @brokiama
    @brokiama 2 ปีที่แล้ว +1

    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  2 ปีที่แล้ว

      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.

  • @camelotenglishtuition6394
    @camelotenglishtuition6394 ปีที่แล้ว

    I really enjoy your channel dude..nice work

  • @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!

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

  • @Atomental_Dr.Forest
    @Atomental_Dr.Forest 3 ปีที่แล้ว

    hoo tks a lot for your workflow and tips .. they're really useful keep it up !

  • @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!

  • @geoedge123
    @geoedge123 4 ปีที่แล้ว +2

    Subbed !! 👍🏽 do more!! Good knowledge

    • @sunknudsen
      @sunknudsen  4 ปีที่แล้ว

      Thanks for the push 😊

  • @shell11
    @shell11 3 ปีที่แล้ว

    How should be stored and keep backupped our PGP keys and public keys of our friends?

  • @Misterdollas
    @Misterdollas 4 ปีที่แล้ว +2

    How can I encrypt a message using the receiver Public PGP key?

    • @sunknudsen
      @sunknudsen  4 ปีที่แล้ว +1

      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

  • @MichaelSharpTechniSmart
    @MichaelSharpTechniSmart 4 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      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.

  • @juanchocirera
    @juanchocirera ปีที่แล้ว

    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 ?

  • @SeanDon
    @SeanDon 4 ปีที่แล้ว +1

    is it Okay to use Proton Mail as The email for my Gnu User Identity Profile ?

    • @sunknudsen
      @sunknudsen  4 ปีที่แล้ว +1

      Sure, although I personally favor using a domain name under my control (example: @sunknudsen.com).

  • @Bennsey
    @Bennsey 3 ปีที่แล้ว +1

    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  3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      @@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 3 ปีที่แล้ว

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

  • @huckelberryfinn23
    @huckelberryfinn23 2 ปีที่แล้ว +1

    I am having a difficult time "Export John's PGP public key."

    • @sunknudsen
      @sunknudsen  2 ปีที่แล้ว

      Hey, please reach out via github.com/sunknudsen/privacy-guides/discussions.

  • @snakeblue2484
    @snakeblue2484 3 ปีที่แล้ว

    Is there a Discord or any other way to communicate with you/ the community ?

    • @sunknudsen
      @sunknudsen  3 ปีที่แล้ว +2

      Have you stumbled upon github.com/sunknudsen/privacy-guides/discussions?

  • @tjex
    @tjex 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

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

  • @phgo5691
    @phgo5691 4 ปีที่แล้ว

    Great channel!

  • @bestanomon
    @bestanomon 3 ปีที่แล้ว

    Hello I Installed good. But I wanna delete . Ho can I do ?

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

  • @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 ปีที่แล้ว +1

      Hey, please reach out on 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 ปีที่แล้ว +1

    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 🙃🙃)

  • @SeanDon
    @SeanDon 4 ปีที่แล้ว +1

    Web of trust episode deff a request in my behalf

    • @sunknudsen
      @sunknudsen  4 ปีที่แล้ว

      Thanks for sharing. Noted!

  • @sultanal-hamdani5343
    @sultanal-hamdani5343 4 ปีที่แล้ว +1

    Zsh: command code not found: code!? Please help

    • @sunknudsen
      @sunknudsen  4 ปีที่แล้ว +1

      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!

  • @EmreErdogan-k8t
    @EmreErdogan-k8t 10 หลายเดือนก่อน

    It says code not found

  • @bilthon
    @bilthon 2 ปีที่แล้ว

    "This link was forcefully removed by TH-cam"

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