Skip to main content
10 events
when toggle format what by license comment
Jul 24, 2015 at 9:51 vote accept user25770
Jul 24, 2015 at 9:34 comment added user25770 @otus thank you very much for your help. I'll probably release the code publicly later.
Jul 24, 2015 at 9:17 comment added e-sushi @user25770 Related to your I'd like to get an example of a short Python implementation to get started please. – Just to be sure you are aware of it: code-requests are generally off-topic at this site (as Otus noted). We´ll gladly help you when it comes to specific, cryptographic problems or when you´ve got a hard time understanding the internals for some cryptographic algorithm or protocol; but you can definitely not expect us to do the job that you get paid for.
Jul 24, 2015 at 9:14 history edited otus CC BY-SA 3.0
deleted 131 characters in body
Jul 24, 2015 at 9:04 comment added otus @user25770, this isn't really the place for coding help, but in Python simply truncating the hex digest should do: .hexdigest()[:32].
Jul 24, 2015 at 8:07 comment added user25770 7 days was an example, by the way thanks for the link. I'd like to get an example of a short Python implementation to get started please.
Jul 24, 2015 at 7:47 comment added otus (However, I'm not sure why you'd want such frequent changes.)
Jul 24, 2015 at 7:46 comment added otus @user25770, if you already use ssh, you should just switch to key based authentication. If you can't (e.g. due to the Windows program that I'm not familiar with), your idea of deriving passwords from a random seed seems sound... assuming you store the seed securely elsewhere.
Jul 24, 2015 at 7:34 comment added user25770 I'm writing a Python program that (every 7 days) change local administrator password automatically. My program use Ansible to connect to these machines via SSH for GNU/Linux and Winrm for MS Windows. It needs to know the machine password in order to make a connection on it.
Jul 24, 2015 at 6:35 history answered otus CC BY-SA 3.0