github.com/cellofellow/gopkg@v0.0.0-20140722061823-eec0544a62ad/apps/pwdgen/config.ini (about) 1 # Copyright 2012 <chaishushan{AT}gmail.com>. All rights reserved. 2 # Use of this source code is governed by a BSD-style 3 # license that can be found in the LICENSE file. 4 5 # 6 # Gen KeePass CSV 1.x Format File 7 # 8 # keepass_site_name := section_name 9 # keepass_site_id := section["LoginName"] 10 # keepass_site_salt := section_name + section["SiteSalt"] 11 # keepass_site_url := section["WebSite"] 12 # keepass_site_comments := section["Comments"] 13 # keepass_site_pwd := pwdgen(keepass_site_id, keepass_site_salt, *encrypt_key, *encrypt_salt) 14 # 15 # output: 16 # *.ini -> *.keepass1x.csv 17 # 18 # http://bitbucket.org/chai2010/pwdgen 19 # http://keepass.info 20 # 21 22 # ----------------------------------------------------------------------------- 23 24 [gmail] 25 LoginName = abc 26 WebSite = http://mail.google.com 27 Comments = abc@gmail.com 28 SiteSalt = 0x5f3759df 29 30 [taobao] 31 LoginName = 123 32 WebSite = http://www.taobao.com 33 Comments = 123@gmail.com 34 SiteSalt = 35 36 [taobao.A] 37 LoginName = uer_a 38 WebSite = http://www.taobao.com 39 Comments = UserA@taobao.com 40 SiteSalt = 41 42 [taobao.B] 43 LoginName = uer_b 44 WebSite = http://www.taobao.com 45 Comments = UserB@taobao.com 46 SiteSalt = 47 48 [taobao.C] 49 LoginName = uer_c 50 WebSite = http://www.taobao.com 51 Comments = UserC@taobao.com 52 SiteSalt = 53 54 # ----------------------------------------------------------------------------- 55 # --encrypt_key=111 --encrypt-salt=fuckcsdn 56 57 [site] 58 LoginName = id3 59 WebSite = 60 Comments = site0:N9V9FyMJ8tkScBN5 61 SiteSalt = 0 62 63 [site1] 64 LoginName = id1 65 WebSite = 66 Comments = 641gNmCY9YFNAQ1p 67 SiteSalt = 68 69 [site2] 70 LoginName = id0 71 WebSite = 72 Comments = 4HLACkWRCyDHtqtx 73 SiteSalt = 74 75 [site3] 76 LoginName = id0 77 WebSite = 78 Comments = 3eHtu74rMFdeRaVk 79 SiteSalt = 80 81 [site4] 82 LoginName = id0 83 WebSite = 84 Comments = 5DSxs623Rciz7bab 85 SiteSalt = 86 87 [site5] 88 LoginName = id0 89 WebSite = 90 Comments = 3cfiPrcjdrhwAgM1 91 SiteSalt = 92 93 [site6] 94 LoginName = id0 95 WebSite = 96 Comments = 5Las25BPXCjvtywo 97 SiteSalt = 98 99 [site7] 100 LoginName = id0 101 WebSite = 102 Comments = 1GK1x3GnRxLSH6DT 103 SiteSalt = 104 105 [site8] 106 LoginName = id0 107 WebSite = 108 Comments = 3VqQSgsRRQTeR6vL 109 SiteSalt = 110 111 [site9] 112 LoginName = id0 113 WebSite = 114 Comments = 5hHdKchVRPeJkFjU 115 SiteSalt = 116 117 # ----------------------------------------------------------------------------- 118