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

Sdílet
Vložit
  • čas přidán 20. 08. 2024

Komentáře • 81

  • @devilsapprentice6081
    @devilsapprentice6081 Před 4 lety +17

    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  Před 4 lety +1

      This channel is just getting started. Feel free to share it outside of CZcams. Thanks for the push!

    • @m.e.bentoo2271
      @m.e.bentoo2271 Před rokem

      @@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 Před 3 měsíci

      Don't worry we are appreciating him :D

  • @unutilizzatoreyoutubbicoca7749

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

  • @saditya
    @saditya Před rokem +2

    very underrated.

  • @alexanderstarnes6328
    @alexanderstarnes6328 Před 3 lety +2

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

  • @RougeG10
    @RougeG10 Před 4 lety +7

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

  • @VictorHugoValleCastillo
    @VictorHugoValleCastillo Před 3 lety +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 Před 3 lety +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.

  • @camelotenglishtuition6394

    I really enjoy your channel dude..nice work

  • @_marcobaez
    @_marcobaez Před 3 měsíci

    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 Před 3 lety +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  Před 3 lety +2

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

    • @LavYash
      @LavYash Před 3 lety

      @@sunknudsen Thanks!

  • @AdamGForPolitiCorps
    @AdamGForPolitiCorps Před 2 lety

    This is great. I got into PGP a few months ago. Will send you a message.

  • @Atomental_Dr.Forest
    @Atomental_Dr.Forest Před 3 lety

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

  • @brokiama
    @brokiama Před 2 lety +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  Před 2 lety

      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.

  • @enkidughom2508
    @enkidughom2508 Před 3 lety

    Awesome work buddy!

  • @geoedge123
    @geoedge123 Před 4 lety +2

    Subbed !! 👍🏽 do more!! Good knowledge

  • @Misterdollas
    @Misterdollas Před 3 lety +2

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

    • @sunknudsen
      @sunknudsen  Před 3 lety +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 Před 3 lety +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  Před 3 lety +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.

  • @phgo5691
    @phgo5691 Před 4 lety

    Great channel!

  • @polgzz
    @polgzz Před 3 lety

    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

  • @shell11
    @shell11 Před 3 lety

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

  • @Marinate305
    @Marinate305 Před rokem

    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!

  • @Bennsey
    @Bennsey Před 3 lety +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  Před 3 lety

      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 Před 3 lety

      @@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 Před 3 lety

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

  • @m.e.bentoo2271
    @m.e.bentoo2271 Před rokem

    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

  • @tjex
    @tjex Před 3 lety +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  Před 3 lety +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).

  • @polgzz
    @polgzz Před 3 lety +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 🙃🙃)

  • @juanchocirera
    @juanchocirera Před rokem

    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 Před 3 lety +1

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

    • @sunknudsen
      @sunknudsen  Před 3 lety +1

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

  • @JuicedGiraffe
    @JuicedGiraffe Před 3 lety

    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

  • @huckelberryfinn23
    @huckelberryfinn23 Před 2 lety +1

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

    • @sunknudsen
      @sunknudsen  Před 2 lety

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

  • @SeanDon
    @SeanDon Před 3 lety +1

    Web of trust episode deff a request in my behalf

  • @user-bf6kv3uc7w
    @user-bf6kv3uc7w Před 7 měsíci

    It says code not found

  • @HauIchDich
    @HauIchDich Před 2 lety

    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  Před 2 lety +1

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

  • @sultanal-hamdani5343
    @sultanal-hamdani5343 Před 3 lety +1

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

    • @sunknudsen
      @sunknudsen  Před 3 lety +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 Před 3 lety

      @@sunknudsen Thank you so much!

  • @thorbag8695
    @thorbag8695 Před 4 lety

    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  Před 4 lety

      If I understand the question correctly, you would like to send encrypted emails to anybody?

    • @polgzz
      @polgzz Před 3 lety

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

  • @bestanomon
    @bestanomon Před 2 lety

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

  • @snakeblue2484
    @snakeblue2484 Před 2 lety

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

    • @sunknudsen
      @sunknudsen  Před 2 lety +2

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

  • @bilthon
    @bilthon Před 2 lety

    "This link was forcefully removed by CZcams"

  • @vivianwilson6884
    @vivianwilson6884 Před 3 lety

    can you go on the dark web with your personal computer?

  • @joncruzvlv
    @joncruzvlv Před rokem

    Bro saying so much just do it.. get to the point