i have that in ugly code that really needs cleaning. it seemed quite useful at the time. the client uses Kerberos to request passwords from
the server. all the passwords are returned in an Tie::Encrypted::Hash (or maybe it's Tie::Hash::Encrypted ;) along with a key. that part is slightly mushed together with a (i beg forgiveness for the following...) Passport (cough) like part that will store the encrypted hash somewhere locally.
the end effect is roughly thus:
- if you have Kerberos, a valid ticket, and the server is working... you can get your passwords without having to type anything.
- otherwise, you'll be prompted for a key and thereafter you'll be asked for a password only the first time it's needed, it will live in the encrypted hash and saved on DESTROY. the next time around you just have to type your key.
it needs: error checking, logging, all the good stuff. but it did work quite well. the application was webified removing the need for the user to keep track of the passwords.
if there's any interest i can put it up somewhere after removing incriminating evidence.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.