Forum (BRAND NEW): forum.lukesmit... Support the channel!: / lukesmith Send money: PayPal.me/Luke... Ask a question: luke@lukesmith.xyz Get my configs: github.com/Luk... See my website: lukesmith.xyz
Пікірлер: 154
@LukeSmithxyz6 жыл бұрын
I'm putting this vid out to go with my new mutt-wizard, which you should check out! (kzfaq.info/get/bejne/idl1fd1qy5-6fYU.html)
@niteshmalani37425 жыл бұрын
Dear sir I have Ex4 encrypted file so how can find key or how can change key or editing in it ? How can compile it ? I used mt4 platform.
@Lumbago046 жыл бұрын
I prefer a rot13 double encryption
@atrisarkar13615 жыл бұрын
A simple spell but quite unbreakable
@cubeman21475 жыл бұрын
jul gb lbh cersre ebg guvegrra
@cubeman21474 жыл бұрын
@Pseudonyymi nsgre 11 zbaguf v svanyyl xabj
@michaelhoefler51183 жыл бұрын
I use quadruple. It offers double the security
@nczioox11162 жыл бұрын
it worked for the romans
@zakrent20006 жыл бұрын
If you want to encrypt text when editing it in vim (usefull for email encryption): %! gpg -er --armour
@joaopedrodeamorimpaula89656 жыл бұрын
If I may suggest, I think you should follow up this video with a video about pass, the "Standard UNIX password manager", since it uses gpg for the encryption of the password and it can be used by many programs. For example, I have my email password stored in pass, and whenever offlineimap needs to access it to update my emails it uses a pass command (`pass show Path/To/Password`) so I don't need to store it in plain text and I also don't need to type it everytime I update my emails.
@joaopedrodeamorimpaula89656 жыл бұрын
kcat Yeah, I forgot to mention those helper scripts. There are also two of them for rofi, rofi-pass and autopass, even though I never really got to make them work and I just use passmenu.
@hectorcanizales59003 жыл бұрын
Fun fact: he actually did make that video!
@Rickety3263 Жыл бұрын
Thank you! This is perfect. I'm writing a script to backup a configuration file over the network but the config file has other secrets stored in plain text. Now I can write a stable script to store the backups securely in a legit way. Thanks for explaining!
@SyberPrepper6 жыл бұрын
Enjoyed the video. Thanks for keeping it simple and to the point without a lot of "or you could do this" "or you could do that".
@sebon114 жыл бұрын
Thank you very much man, this helped me a lot. Very clear video, lovely (non hindi) english, everything's super cool. Thanks again
@dustinsmith9849 Жыл бұрын
omg thank you for having the balls to say that bro. USA! USA!
@Ruhgtfo5 жыл бұрын
Can you make another video for things below > 1. how to back up those key. 2. how another person import your public key before encrypting
@Minecraft101ToonLink3 жыл бұрын
I prefer to back up my key by pigeon.
@hectorcanizales59003 жыл бұрын
You can use the `--export-secret-keys [ names ]` to export your key (including the private one. It’ll write to stdout by default.
@TheBlueThird2 жыл бұрын
No video needed. It's documented everywhere.
@IamBrianDickson5 жыл бұрын
Good intro for me. Now I need to go learn more, and what the fluff you where typing in the terminal half the time :)
@gnuPirate2 жыл бұрын
Great video Luke, and great content in general. Glad I stumbled across this tonight. Hopefully will remember to follow you wherever on the other content sites you inhabit.
@ram09732 жыл бұрын
Use gpg --full-generate-key --expert , Luke!
@user-gr5do8nk7e6 жыл бұрын
8:19 don't tell me what to do anyway awesome video ! i had to deal with gpg keys when i was using arch but i never took the time to learn more than that they deal with security and now i know thanks
@jt6595 жыл бұрын
You're great at explaining this, but I always feel like I'm watching that "How English sounds to non-English speakers" video. Like my brain is saying "you know this language but he's saying fake words!"
@smakintel2 ай бұрын
Clear crystal info , thanks Bro
@thesuperiorman83423 жыл бұрын
You explain really good. You're gifted
@cme123tr3 жыл бұрын
I'm really new at this and your video helped me a lot, thank you. But, how do you put your signature on the encrypted file, and how does the recipient open it? You give him the password by phone?
@Simon-xi8tb6 жыл бұрын
Wow, didn't know about shred -u. Tnx :D About keys expiring, so I assume if private key expires, you can no longer decrypt files that were encrypted with that private key ?
@ammdias3 жыл бұрын
You can always decrypt the files, even if the private key is expired. Someone trying to use that key to encrypt something to you would receive a warning that the key is expired and another should be used. If you could not use expired keys to decrypt files you would lose data and nobody would want that :)
@krzysztofwesoowski76743 жыл бұрын
Thanks for this simple explanation.
@imveryhungry1122 жыл бұрын
Thank you for this valuable information.
@mpk13 жыл бұрын
How do you get that view in a terminal?
@lue0166 жыл бұрын
gpg is awesome
@mohammedkaram8606 Жыл бұрын
Thank you for the nice tutorial ♡
@paulmacgiollacaoine86192 жыл бұрын
Nice presentation.
@HelloWorld-tn1tl3 жыл бұрын
Can you share your vim multi-scree setting, thank u .
@IljasMS6 жыл бұрын
Hey Luke, nice and useful video as always. What was that task managing program on the right at the beginning?
@uncledave20636 жыл бұрын
looks like vtop
@IljasMS6 жыл бұрын
Thank you, I also have figured that out however. Next question is, how did he manage to make borders in ranger look like pipes?
@IljasMS6 жыл бұрын
i know this man :) if i set it to true, the borders look like straight (i mean connected lines), however in his video his vertical borders look like pipe symbols.
@IljasMS6 жыл бұрын
Hahah, even thoigh its and oddity it looks dope
@SF-zm2py3 жыл бұрын
Nice and to the point!
@rita_calamity2 ай бұрын
What distro are you using? It looks cool
@individous28336 жыл бұрын
very nice video. good stuff.
@racingtheweb Жыл бұрын
This is fantastic! I need to ask: can I decrypt my encrypted file from a Windows pc? And what if my linux laptop (which I used to encrypt my file) doesn't work? Will I still be able to decrypt my file? Thank you
@cubeman21475 жыл бұрын
thx bro very helpful !!
@alexanderminer15376 жыл бұрын
Do you have any tutorial/guide on how to setup a working environment like yours? Seems pretty cool and efficient...
@LukeSmithxyz6 жыл бұрын
Lol. Yeah see the rest of the channel! Or just use larbs.xyz
@alexanderminer15376 жыл бұрын
Luke Smith Thanks dude, great stuff btw, been following for 6 months now... Keep it up
@sectorx203 жыл бұрын
What is the best way to store your gpg backup file ?
@fision80902 жыл бұрын
Use gpgtar if you want to encrypt a folder and now you can hide your 1.5 tb homework folder
@maybryn2 жыл бұрын
Someone on a forum said to always write down your key.... Weirdest thing happened though.... I was not told my password.. I also know for a fact that I did NOT encrypt anything, yet there are encrypted files.. I updated mint, and boom!! my wifi changed names, half of my kernels are gone, some of the apt conf were erased and I can't use the internet anymore.. I don't understand what happened
@GNU_Linux_for_good Жыл бұрын
07:34 I have to set that cache to 0 if I wanted being asked every time for my passphrase - right? How I'm going to do that? Thanks. Update: I fixed it with the *gpa* and set the _default-cache-ttl_ at zero. _[gpa = graphical frontend for the GNU Privacy Guard]_
@jordekang28446 жыл бұрын
>mfw me and some friends were just looking this up. a-are you a CIA?
@PriestApostate9 ай бұрын
What application are you using as your File Manager in this video?
@obentheodore9037 Жыл бұрын
Thanks @Lukesmith
@roberthensley71303 жыл бұрын
Do you have a video or resource for your command prompt setup? It looks very nice!
@devikapluspoint83063 жыл бұрын
Is this a joke?
@roberthensley71303 жыл бұрын
@@devikapluspoint8306 Nope! Genuine question. I like the way the filesystem is visible below the terminal. It looked like there was some shortcut used to open the filesystem viewer which I wanted to learn more about. I also like how these new terminal pages are opened and their spacing.
@devikapluspoint83063 жыл бұрын
@@roberthensley7130 tiling window managers let you map a key to any command. It's obvious. The fact that it appeared below is because of his layout. And this is bash not command prompt
@devikapluspoint83063 жыл бұрын
@@roberthensley7130 wait you don't know about tiling window managers? They also let you tile stuff like browsers
@cezarsampaio41435 жыл бұрын
Thanks!
@sharktamer6 жыл бұрын
How do you keep making videos on exactly the things I've just started looking into myself? This is like the 4th time.
@dustinsmith9849 Жыл бұрын
he's watching you
@Oscar-rl4wm5 жыл бұрын
Luke, Why not use pinentry-curses instead of those annoying popups?
@AlasdairBRStewart6 жыл бұрын
Any plans for a vimwiki video?
@LukeSmithxyz6 жыл бұрын
Yup.
@7megas6 жыл бұрын
Is there a convenient way to encrypt big file? Asymmetrical keypair encryption requires a lot of resource
@Eletronicafg6 жыл бұрын
7megas While purely asymmetrical encryption is slow, most software use the public key to encrypt a secret symmetric key an that is used to encrypt the hole file instead.
@Michael-wy5ty6 жыл бұрын
Eletronicafg this is what GPG does. GPG is in fact using a hybrid cipher, what that process of encrypting the symmetric key is called.
@Eletronicafg6 жыл бұрын
exactly
@samaelsilas75004 жыл бұрын
What about 'veracrypt' ?
@Weaver0x0010 ай бұрын
How do you make it so that you have the terminal up on the top and the current directory state at the bottom of the screen?
@jkjoker7779 ай бұрын
tmux
@jmm12333 жыл бұрын
this useful in conjunction with apps like pass
@ziahdtv11485 жыл бұрын
Good video
@secwriteups Жыл бұрын
What's the package to install in order to get the GUI that asks for the passphrase ?
@hassanelnrgcy478211 ай бұрын
nice
@AlifRadhitya3 жыл бұрын
gg!
@mrmartinLgore5 жыл бұрын
I would like to see a video on pass (password manager) :)
@harshallele83096 жыл бұрын
What are the advantages of this compared to say, keepass?
@mikuhatsunegoshujin6 жыл бұрын
Harshal Lele just a front end.
@whahala5555 жыл бұрын
You can post your public key online other people to send you encrypted files.
@francescodesimone94196 жыл бұрын
m8 sorry for the dum questions. What is the color hex of your windows border? I don't found it in the conf file kek
@LukeSmithxyz6 жыл бұрын
It's just the default color. I didn't set anything.
@francescodesimone94196 жыл бұрын
kek thx bro
@flesz_ Жыл бұрын
what is that funky file manager in the bottom half of the window?
@avsbq6 ай бұрын
ranger but lf is better
@ArmandoCalderon Жыл бұрын
The command gpgtar to encrypt folders
@sharktamer6 жыл бұрын
What's the gui that comes up and asks for your pass?
@LukeSmithxyz6 жыл бұрын
That pinentry. I think it comes by default, but if you uninstall it, it'll just prompt you on the command line.
@sharktamer6 жыл бұрын
Yeah, I'm used to seeing it ask on the command line. I'm kinda more curious about the "save in password manager" checkbox, where does that go?
@GauravSingh-hn8cg3 жыл бұрын
How do you setup your terminal?
@avsbq6 ай бұрын
he uses st
@avsbq6 ай бұрын
his terminal build is on his github
@julioramirez54974 жыл бұрын
Thanks dude! And if i want to keep editing the file after encrypting it?
@jorar913 жыл бұрын
You need to decrypt it and encrypt it again
@PETAJOULE5435 жыл бұрын
GPG keypair creation and how to use it in certain file that we want to encrypt. I suppose it is same as gnupg
@xGOKOPx5 жыл бұрын
GPG *is* GnuPG
@spaceiswater65395 жыл бұрын
So does the person who receives your message have to know your password you created it with or do they have their own password to open your encrypted message?
@ammdias3 жыл бұрын
To encrypt a file or message to someone else, you have to first get their public key and use that to encrypt the file (no password is necessary on encryption). That person would then decrypt using their own private key, for which they need the corresponding password.
@anasouardini2 ай бұрын
How is an expiring key used for encrypting files? :rofl
@PalinuroRex6 жыл бұрын
Hi Luke! I followed your instructions and generated a key in mac os, but the wizard says it can't locate the gpg keys. I looked at /usr/bin/ and indeed I don't see a gpg folder or file... Any clues?
@meanmole32125 жыл бұрын
Google image search: "Apple tech support azis"
@skillz73 жыл бұрын
Wht is the terminal how do I get it
@user-tw3xu4du4l3 жыл бұрын
What operation system you can use?
@NoEgg4u6 жыл бұрын
Greetings, How can I encrypt a file, and not have it associated (or dependent upon) a public key/private key? In other words, I simply want to encrypt a file with a passphrase. Anyone that knows that passphrase will be able to decrypt it. This would be useful to put my secret key on a backup drive, and not have to worry that my secret key will fall into the wrong hands (because I will encrypt the secret key, before saving it to a backup drive). I cannot figure out the options for the command line to instruct gpg to encrypt a file. It seems determined to associate any encryption with a public key. Please advise. Thank you.
@keith57335 жыл бұрын
gpg --symmetric filename
@dlarge65025 жыл бұрын
Take a look at ccrypt. Its a modern replacement for the UNIX crypt command and is designed to simply encrypt or decrypt a file using a passphrase.
@str06804 жыл бұрын
time to buy drugs
@cla0410545 жыл бұрын
I don't know why this does not work in my computer but openssl works.....
@ameynarkhede82646 жыл бұрын
Whats name of that font on your terminal??? and do you highlight active window??
@LukeSmithxyz6 жыл бұрын
Inconsolata is the font. The border around the windows is automatic in i3.
@nicholaspapadonis50365 жыл бұрын
What window manager are you using that's text based? Is that mc?
@naumanafsar30535 жыл бұрын
No! it's i3wm
@xGOKOPx5 жыл бұрын
Since you brought up mc you're probably asking for file manager. In that case it's Ranger
@antoniocg25314 жыл бұрын
Hi Luke. In what system ( distro ) do you work ?, thanks
@nykal15103 жыл бұрын
Artix, Arch derivative without systemd
@aviator74799 ай бұрын
Dude what is the tool you are using to navigate at 4:40?
@avsbq6 ай бұрын
ranger, but lf is better
@aviator74796 ай бұрын
@@avsbq Thanks a lot. These tools look awesome.
@avsbq6 ай бұрын
@@aviator7479 no problem, luke has a more recent video on the "lf" file manager
@calmarcalmar6 жыл бұрын
nice thanks. btw I have this in my .bashrc: alias rm='echo escape rm' ... too often I mixed up rm and mv. With that, you need to type: m. (additionally I have the 'trash' command)
@calmarcalmar6 жыл бұрын
that 'certain' period 7:25 is definied in seconds i.e. in: .gnupg/gpg-agent.conf default-cache-ttl 30000 (and restart gpg-agent)
@marcovirtual3 жыл бұрын
Does this also works for entire directories of files?
@ammdias3 жыл бұрын
No. You should first compress (zip/tar/whatever) the directory into a single file. You can, however, encrypt or decrypt several files at once.
@ed_xz73297 ай бұрын
If I may ask, what's that linux distro?
@Lulxec3 ай бұрын
It's probably arch linux with dwm window manager
@skrillnesthq Жыл бұрын
Gpg Is Virus ?
@aaron6841 Жыл бұрын
I can't seem to decrypt it?
@QWERTY-gp8fd Жыл бұрын
skill issue
@aaron6841 Жыл бұрын
@@QWERTY-gp8fd thanks for your shitty ignorant comment I've worked it out now you've got an asshole issue
@yuyuyuyuyuy484 Жыл бұрын
@@aaron6841 LMAO
@joaofnds3 жыл бұрын
vtop? really?
@soufianta83744 жыл бұрын
Hi, how can we prevent duplicate key pairs? Imagine I've generated a key pair (with expiration date) and another person generates the same one, is that possible? If no, how does GPG manage that? What about signing packages with GPG? Is it the same logic behind ? Thanks.
@pakoul3 жыл бұрын
longer is better
@RmNrIHRoZSBDQ1AK5 жыл бұрын
If someone's looking for a nice cross-platform encrypted chat and file storage with a git remote helper build on top of PGP check out Keybase keybase.io/
@OCmyBrain6 жыл бұрын
No pywal anymore???
@06kellyjac6 жыл бұрын
OCmyBrain I'd imagine it's because he's using ST now which has its theme compiled into the binary so the terminal wouldn't change theme with pywal
@LukeSmithxyz6 жыл бұрын
There are some builds of st out on github that have pywal support, but I honestly moved away from using pywal generally. No hard feelings against it, I just don't really use it now.
@douwehuysmans59596 жыл бұрын
1024 key length would suffice, 4096 is just completely insane
@douwehuysmans59596 жыл бұрын
People always assume the NSA is willing to spend billions on them, they are not, noone gives a fuck 1024 bit still takes years to crack, not really necessary to get bigger keys to encrypt some email with some pictures of your dog in it
@douwehuysmans59596 жыл бұрын
dOuWe hUiJsMaNs iS aN NsA aGeNT!!1
@knpstrr6 жыл бұрын
depends on the size of your secret
@douwehuysmans59595 жыл бұрын
@@knpstrr You don't encrypt large data with RSA, you use it to encrypt a symmetric key so you can send it over the internet without having to fear for eavesdroppers
@douwehuysmans59596 жыл бұрын
L33t
@elinars56384 жыл бұрын
Haha Boomer, if you're so good why don't you write your own version of gpg?
@defaultkozlowsqi14886 жыл бұрын
Well I did not know asymmetric encryption is good for file encryption.. I love to laught at your videos... I just hope nobody is actually going to use what you just presented in this or any other video or nobody is going to listen to your gnu/linux propaganda.. and it is linux not gnu/linux because kernel is not in any way connected to gnu software and you can run gnu software on windows... but do you say it is gnu/dos or gnu/windows.. No! And about the topic : asymmetrical encryption is slow and not intended for file encryption in its core design which is signing and key exchanges.. after key exchange(hmm key to the ->) there is symmetrical encryption anyway.. so read something about encryption before makeing misleading videos.. try to encrypt which this something like a 20G and then try this hardware accelerated symmertrical encryption I was talking about.. well if you have one of this nice intel chips with thier proprietary technology (best performance on vPro i7 chips) I mean thinkpads or stuff like that will probably burn if I were to do this on them.. but come on.. anyway I loved posting this comment from my proprietary iphone’s IOS11 with symmetrically encrypted flash that I knew nothing about but I love that they keep my data safe and this closed source youtube I cannot imagine how that must hurt you so you post videos here.. I would be scared if I were you maybe they will track you having the metadata you supplied with the vidoes.. dude I love that I am not you..
@technotux78356 жыл бұрын
@default kozlowsqi at least we own the software that runs our computers, and at any time i can just format my harddrive and reinstall my entire system without having to be connected to the internet, while you can't even use the maps application or siri digital assistant on your iphone’s iOS without having to be connected to the internet
@defaultkozlowsqi14886 жыл бұрын
@techno tux I can do that too(reinstall from linux to linux to windows to linux.. and so on).. and come on nobody uses siri(or cortana(or hey google)) ..and are you using paper maps ?!