Vim password manager

2 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€43.41
List Price:  €60.78
You save:  €17.36
£38.08
List Price:  £53.32
You save:  £15.23
CA$70.18
List Price:  CA$98.26
You save:  CA$28.07
A$76.35
List Price:  A$106.90
You save:  A$30.54
S$65.15
List Price:  S$91.22
You save:  S$26.06
HK$388.60
List Price:  HK$544.07
You save:  HK$155.47
CHF 40.35
List Price:  CHF 56.49
You save:  CHF 16.14
NOK kr505.80
List Price:  NOK kr708.16
You save:  NOK kr202.36
DKK kr324.21
List Price:  DKK kr453.92
You save:  DKK kr129.71
NZ$87.44
List Price:  NZ$122.43
You save:  NZ$34.98
د.إ183.58
List Price:  د.إ257.03
You save:  د.إ73.45
৳6,138.89
List Price:  ৳8,594.94
You save:  ৳2,456.05
₹4,437.98
List Price:  ₹6,213.54
You save:  ₹1,775.55
RM209.93
List Price:  RM293.92
You save:  RM83.99
₦72,642.46
List Price:  ₦101,705.26
You save:  ₦29,062.80
₨14,226.07
List Price:  ₨19,917.64
You save:  ₨5,691.56
฿1,622.77
List Price:  ฿2,272.01
You save:  ฿649.24
₺2,102.64
List Price:  ₺2,943.87
You save:  ₺841.22
B$269.83
List Price:  B$377.79
You save:  B$107.95
R865.27
List Price:  R1,211.46
You save:  R346.18
Лв84.91
List Price:  Лв118.88
You save:  Лв33.97
₩71,460.81
List Price:  ₩100,050.85
You save:  ₩28,590.04
₪162.49
List Price:  ₪227.50
You save:  ₪65.01
₱2,940.41
List Price:  ₱4,116.81
You save:  ₱1,176.40
¥7,706.83
List Price:  ¥10,790.18
You save:  ¥3,083.35
MX$926.45
List Price:  MX$1,297.10
You save:  MX$370.65
QR183.11
List Price:  QR256.37
You save:  QR73.26
P674.62
List Price:  P944.53
You save:  P269.90
KSh6,475.20
List Price:  KSh9,065.80
You save:  KSh2,590.60
E£2,362.96
List Price:  E£3,308.33
You save:  E£945.37
ብር7,739.58
List Price:  ብር10,836.04
You save:  ብር3,096.45
Kz45,589.78
List Price:  Kz63,829.34
You save:  Kz18,239.56
CLP$47,160.37
List Price:  CLP$66,028.30
You save:  CLP$18,867.92
CN¥355.98
List Price:  CN¥498.41
You save:  CN¥142.42
RD$3,227.89
List Price:  RD$4,519.30
You save:  RD$1,291.41
DA6,535.71
List Price:  DA9,150.52
You save:  DA2,614.80
FJ$113.61
List Price:  FJ$159.07
You save:  FJ$45.45
Q385.10
List Price:  Q539.17
You save:  Q154.07
GY$10,510.21
List Price:  GY$14,715.14
You save:  GY$4,204.92
ISK kr6,308.23
List Price:  ISK kr8,832.03
You save:  ISK kr2,523.80
DH465.32
List Price:  DH651.49
You save:  DH186.16
L855.27
List Price:  L1,197.45
You save:  L342.17
ден2,675.40
List Price:  ден3,745.77
You save:  ден1,070.37
MOP$402.13
List Price:  MOP$563.02
You save:  MOP$160.88
N$871.23
List Price:  N$1,219.80
You save:  N$348.56
C$1,848.85
List Price:  C$2,588.55
You save:  C$739.69
रु7,125.57
List Price:  रु9,976.37
You save:  रु2,850.79
S/169.95
List Price:  S/237.94
You save:  S/67.99
K211.81
List Price:  K296.55
You save:  K84.74
SAR187.47
List Price:  SAR262.48
You save:  SAR75
ZK1,111.48
List Price:  ZK1,556.16
You save:  ZK444.68
L220.82
List Price:  L309.17
You save:  L88.34
Kč1,056.68
List Price:  Kč1,479.45
You save:  Kč422.76
Ft16,800.16
List Price:  Ft23,521.57
You save:  Ft6,721.41
SEK kr475.13
List Price:  SEK kr665.22
You save:  SEK kr190.09
ARS$72,297.72
List Price:  ARS$101,222.60
You save:  ARS$28,924.87
Bs347.16
List Price:  Bs486.05
You save:  Bs138.89
COP$193,975.68
List Price:  COP$271,581.48
You save:  COP$77,605.79
₡25,194.79
List Price:  ₡35,274.73
You save:  ₡10,079.93
L1,321.31
List Price:  L1,849.95
You save:  L528.63
₲355,394.43
List Price:  ₲497,580.64
You save:  ₲142,186.20
$U1,992.34
List Price:  $U2,789.44
You save:  $U797.09
zł184.63
List Price:  zł258.49
You save:  zł73.86
Already have an account? Log In

Transcript

Vim can also be used to safely store information by encrypting text files with different crypt methods to see the creep method that vim is currently using. type this command. We can see in our case it is deep, which is not actually a crypto method and does not offer much in terms of security. To see what different alternatives we have, we can type the following command. A page describing the different encryption methods comes up. We can choose from zip, blowfish, and blowfish to the most secure and recommended one is of course the last one blowfish to to change the encryption method type the following command.

This can be also added to the vim configuration file, so that it becomes the default encryption. Now we can safely encrypt files using vim. A common scenario would be storing a password file. Let's open up a new file called passwords dot txt. Add some dummy password inside and save it. Our next step is to encrypt the file with a password and for this we type colon uppercase x.

We will prompt you for a password twice. If you exit without saving the file, the encryption will not be applied. Now encrypted again, save and exit the file. When we reopen it, vim will ask for the same password. If we get this wrong, vim will show some random characters that come from the failed decryption. Only if we type the correct password, will we get the actual file content?

Saving encrypted files with vim combined with backing up the file, places like private get to a repository or a private Dropbox folder can be an effective way of storing your passwords. And it has the benefit that it's sort of a unique method of storing passwords compared to using online services that are pretty standard and might get common This can also be referred to as security through obscurity.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.