Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 984 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 984 Bytes

Reminder

How to securely remember a password for a certain time ?

Use case: I need to make an lftp connection and enter my password. It's likely that I'll restart the command several times during my work session.

Extract from a Makefile

put: 
	@lftp -e "put -O something ; bye"\
	 -u somelogin,$(shell ./remember.sh somelogin) sftp://ftp.example.org

See example of Makefile

Changelog

  • v -1 Attempt to save passwords in an environment variable. Bad idea. Environment variables envars are accessible to all processes.

  • v 0.1 Use of Ante's proof of concept (POC) that uses the Linux keyring via the keyctl command. See <poc-remember-ante.sh>… it works.

Authors

Pierre Bettens (pit) pb@namok.be
Ante

CC