#### Encrypting files in Linux machine using OpenSSL.

development
setup, server, private, php, python, upload, postman, api

What my Project FileSec did can be done straight from terminal which is quite nice to hear but CLI isn't for everyone, honestly respect their preference however. I am currently using Ubuntu 17.04 as my main work-space therefore OpenSSL is available through official repository.

Install it using sudo apt install openssl.

The commands are pretty straightforward for OpenSSL which can also be reviewed using man openssl in your terminal. Basically, in order to simply encrypt or decrypt a file, we can make use of -e or -d parameters. Couple examples to easily understand what I am trying to say is shown below.

First, let us create a file which holds secret text/string/data and what not.

Verify whether the secret.txt file was created and the string was successfully appended to our secret file. Once verified, run openssl aes-256-cbc -e -in secret.txt -out secret.txt.enc in your terminal where you created your secret.txt file.

#### Pymgur - Yet another screenshot and Imgur upload script written in Python.

development
programming, dev, development, python, imgur, upload, screenshot, capture

After using Shutter for almost a year or more if I recall correctly, I got fed up of it’s broken Imgur upload plugin, considering those upload plugins are written in Pearl Scripts .pm I guess I could have tried and edited the script. For those who aren’t familiar with what Imgur is, it is an image host, free, fast, optimized, secure and very resourceful for image sharing. It started from Reddit and now it is one of the most amazing image hosts out there, probably the best if you ignore Google+ Photos.

It gives you an ability to edit/update images with various built-in sets of tools and features.

Nothing wrong with trying and creating one for yourself, I suppose. The script I wrote makes use of Imgur’s OAuth 2.0 authentication using pin to authorize, confirm and revalidate access_tokens.

All the steps are included in the Python script itself, therefore, I don’t think the user will have much trouble configuring things around.