Enpass 6.0 : multi-vaults and Owncloud setup

Enpass LogoI’ve been using Enpass for a while now.
Enpass is a passwords manager, that works fine on desktops running Windows / Linux / Mac, and perfectly integrated with my browser (Firefox,…). It also works on Android and IOS, which makes it really convenient for day-to-day usage…
I may create a special post just to explain why you must use a tool such as Enpass to store your passwords, and why did I chose Enpass (commercial license => you have to pay on mobile devices / but it’s free -like in free beer- on desktops)
I’ve got it installed on all my devices (Linux, Windows, Android phone, Android Tablet,…), as well as for my whole family.

Enpass recently migrated to version 6.x. Among several major changes, one was very expected on my side : multi-vaults…
This means you can create separate vaults to store your passwords, and share some of them with others… I was waiting for it to share many passwords with my wife (on-line shops, government agencies,…)

I managed to do it properly, but you need to know how to configure things.
Here is how I proceeded…
Continue reading “Enpass 6.0 : multi-vaults and Owncloud setup” »

OwnCloud: how to copy files “directly” on your server

owncloudOwnCloud is really a terrific program.
I use it for many purposes, among which, of course, storing files that I can access from anywhere.

I faced a simple, but not trivial issue : I had a lot of files to move to my Cloud repository, already available on my server, and I didn’t want to go through the web interface or the webdav access (unnecessary bandwidth usage). I simply wanted to “move” them from directories, using Unix command line interface.

This is not straight forward, but not difficult either. Here is how I proceeded:

Continue reading “OwnCloud: how to copy files “directly” on your server” »

Check site certificate validity

go_lockerI recently installed Let’s Encrypt mechanism on some of my sites.
Currently, the upgrade is not automatic (beta version + I personally need to be convinced 🙂 )

So, I need to monitor the validity dates of the certificates.
Here is a one-liner that do the job:

 echo | openssl s_client -connect <site>:<port>  2>/dev/null | openssl x509 -noout -enddate

Note that I added the initial “echo”, as the openssl is waiting for an input…

Output example:

$ echo | openssl s_client -connect raistlin.alphamaths.fr:443 2>/dev/null | openssl x509 -noout -enddate
 notAfter=Mar 5 16:30:49 2017 GMT

You can imagine any kind of monitoring / notification on top of that !

Update SmartMonTools Database on FreeNAS 0.7

Logo FreeNAS

 

I’ve been running a NAS at home for years.

I recently added 2 new 2TB disks, that were not recognized by SMART.

=== START OF INFORMATION SECTION ===
Device Model:     ST2000DM001-1ER164
Serial Number:    W4Z103H5
Firmware Version: CC25
User Capacity:    2,000,398,934,016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   9
ATA Standard is:  Not recognized. Minor revision code: 0x001f
Local Time is:    Sun May 15 15:17:35 2016 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===

Here is how to solve this issue:

Continue reading “Update SmartMonTools Database on FreeNAS 0.7” »