Hello guys, This is Shadowblade and in this article i'm gonna showcase how i generated my gpg key and encrypted a paragraph with a gpg key. GPG stands for Gnu Privacy Guard and is a public key cryptography implementation. To create one, you need to have the gnupg program. To install it just type: $ sudo dnf install gnupg2 Now generate a key with: $ gpg --gen-key Answer the questions and there you have your key. To view your key type: $ gpg --list-secret-keys Now, in my case i imported a gpg key from a source i won't say (for privacy reasons) and named it mykey.gpg (i know that it's a name without any inspiration) then ran: $ gpg --import mykey.gpg Then created a file named myfile.txt(yet another name without inspiration) and to encrypt it i ran: $ gpg --output myfile.txt.gpg --encrypt --recipient <email_of_the_source_owner> myfile.txt This will create a file named myfile.txt.gpg which contains the encrypted version of myfile.txt, only the owner of th...
Hello, this is shadowblade and i’m up to tell you how i setup fedora-messaging on my local machine. The first step i immediately took was to go to the official fedora-messaging documentation ,here is the link for more info Then, i installed the needed packages which are: -> Fedora messaging python package: $pip install fedora - messaging ->and rabbitmq: $ sudo install rabbitmq - server ( i 'm using a debian based distro for this task) then ran i rabbitmq with: $ systemctl start rabbitmq - server (you might need admin privileges to run this commant, if so, put sudo at the start of the command) I then created a single python script which contains a listener and a publisher. Here is the repo of the source code if you are interested, it contains info about how to launch the script. Additionnal ressources: Asciinema recording of the execution of the listener. Asciinema recording of the execution of the Publisher. screen-shots: That’s it folks, have a go...