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

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025

Комментарии • 80

  • @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 RUclips. 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 8 месяцев назад

      Don't worry we are appreciating him :D

    • @edhead76
      @edhead76 Месяц назад

      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

  • @alexanderstarnes6328
    @alexanderstarnes6328 4 года назад +2

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

  • @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 8 месяцев назад

    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?

  • @camelotenglishtuition6394
    @camelotenglishtuition6394 Год назад

    I really enjoy your channel dude..nice work

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

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

  • @saditya
    @saditya Год назад +2

    very underrated.

  • @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  4 года назад +2

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

    • @LavYash
      @LavYash 4 года назад

      @@sunknudsen Thanks!

  • @Atomental_Dr.Forest
    @Atomental_Dr.Forest 3 года назад

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

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

  • @brokiama
    @brokiama 3 года назад +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  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.

  • @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 года назад +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

  • @geoedge123
    @geoedge123 4 года назад +2

    Subbed !! 👍🏽 do more!! Good knowledge

    • @sunknudsen
      @sunknudsen  4 года назад

      Thanks for the push 😊

  • @shell11
    @shell11 4 года назад

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

  • @enkidughom2508
    @enkidughom2508 3 года назад

    Awesome work buddy!

  • @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 4 года назад

    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

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

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

  • @bestanomon
    @bestanomon 3 года назад

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

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

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

  • @HauIchDich
    @HauIchDich 3 года назад

    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  3 года назад +1

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

  • @Bennsey
    @Bennsey 4 года назад +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  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.

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

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

  • @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 4 года назад

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

  • @phgo5691
    @phgo5691 4 года назад

    Great channel!

  • @EmreErdogan-k8t
    @EmreErdogan-k8t Год назад

    It says code not found

  • @polgzz
    @polgzz 4 года назад +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 🙃🙃)

  • @huckelberryfinn23
    @huckelberryfinn23 3 года назад +1

    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.

  • @SeanDon
    @SeanDon 4 года назад +1

    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 RUclips"

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