tis-keepass
2.57-32
KeePass Password Safe is a free and open-source password manager
17173 downloads
See build result See VirusTotal scan
![tis-keepass icon](/wapt/icons/9855b4f581d2abce7c7418d436092535d7e01d4da9096bcdbae39edc9c7d9f1f.png)
Description
- package : tis-keepass
- name : KeePass
- version : 2.57-32
- categories : Security,Utilities
- maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
- installed_size :
- editor : Dominik Reichl
- licence : GPLv2
- signature_date : 2024-06-06T22:00:59.015472
- size : 5.84 Mo
- locale : all
- target_os : windows
- impacted_process : KeePass
- architecture : all
- Homepage : https://keepass.info/
control
package : tis-keepass
version : 2.57-32
architecture : all
section : base
priority : optional
name : KeePass
categories : Security,Utilities
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
description : KeePass Password Safe is a free and open-source password manager
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://sourceforge.net/projects/keepass/
installed_size :
impacted_process : KeePass
description_fr : KeePass Password Safe est un gestionnaire de mots de passe publié sous licence libre
description_pl : KeePass Password Safe to darmowy i open-source'owy menedżer haseł
description_de : KeePass Password Safe ist ein kostenloser und quelloffener Passwortmanager
description_es : KeePass Password Safe es un gestor de contraseñas gratuito y de código abierto
description_pt : KeePass Password Safe é um gestor de senhas gratuito e de código aberto
description_it : KeePass Password Safe è un gestore di password gratuito e open source
description_nl : KeePass Password Safe is een gratis en open-source wachtwoordmanager
description_ru : KeePass Password Safe - бесплатный менеджер паролей с открытым исходным кодом
audit_schedule :
editor : Dominik Reichl
keywords : password,manager,keepass,keep,pass,passwords
licence : GPLv2
homepage : https://keepass.info/
package_uuid : 62631bc7-7011-4e9a-9eae-2fb9c3e51348
valid_from :
valid_until :
forced_install_on :
changelog : https://keepass.info/news/news_all.html
min_os_version :
max_os_version :
icon_sha256sum : 9855b4f581d2abce7c7418d436092535d7e01d4da9096bcdbae39edc9c7d9f1f
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : rOWG7qBmg8B22spcCkg2+6nTnh8/+wOFQx5hsLtbxFASE0wZj3OkpxFA433tP4lEqvx5pifa7/5kG0GaRqrRVk3crb7fD4j84KPqNgfrU7W8hRWFvO6gHpojOY4Cn2AbNPC98H2n/ChOvDFTgI9VYdsrfw/Y76L9K2tUdfIx4ZE9E/LaCgxpuz8zjaPbXG2G87nGS0EV3ugaQQTCHO15gtSxV9tZ3QNJYQJg+dSUzYnCmE1L1yyL/vIBU36X2ZUv8Qd6HjI3yfQirarSOjcfpp0QhTlKSiqwBthXYfS5xQPMoQjW0VlUicqPxvqteM5sYQ5B8TVUzY60q1RyQn7qVA==
signature_date : 2024-06-06T22:00:59.015472
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
versionpaquet = control["version"].split("-", 1)[0]
install_exe_if_needed(
"KeePass-%s-Setup.exe" % versionpaquet,
silentflags="/VERYSILENT",
key="KeePassPasswordSafe2_is1",
min_version=versionpaquet,
killbefore=["KeePass.exe"],
)
keysoftinfo = installed_softwares("KeePassPasswordSafe2_is1")
for info in keysoftinfo:
installlocation = info["install_location"]
for lf in glob.glob("*.lngx"):
if isfile(makepath(installlocation, "Languages", lf)):
remove_file(makepath(installlocation, "Languages", lf))
filecopyto(lf, makepath(installlocation, "Languages"))
def session_setup():
if not isdir(makepath(application_data, "KeePass")):
mkdirs(makepath(application_data, "KeePass"))
config = makepath(application_data, "KeePass", "KeePass.config.xml")
loc = get_language().lower()
if loc in list_locales:
LanguageFile = r"""
<LanguageFile>%s</LanguageFile> """ % (
list_locales[loc]
)
else:
LanguageFile = ""
if not isfile(config):
data = (
r"""<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Meta>
<PreferUserConfiguration>false</PreferUserConfiguration>
<OmitItemsWithDefaultValues>true</OmitItemsWithDefaultValues>
</Meta>
<Application>%s
<LastUpdateCheck>2017-06-13T19:44:53Z</LastUpdateCheck>
<LastUsedFile>
<Path />
<CredProtMode>Obf</CredProtMode>
<CredSaveMode>NoSave</CredSaveMode>
</LastUsedFile>
<MostRecentlyUsed>
<MaxItemCount>12</MaxItemCount>
<Items />
</MostRecentlyUsed>
<WorkingDirectories />
<Start>
<CheckForUpdate>false</CheckForUpdate>
<CheckForUpdateConfigured>true</CheckForUpdateConfigured>
</Start>
<FileOpening />
<FileClosing />
<TriggerSystem>
<Triggers />
</TriggerSystem>
</Application>
<Logging />
<MainWindow>
<X>309</X>
<Y>81</Y>
<Width>662</Width>
<Height>513</Height>
<SplitterHorizontalFrac>0.8333</SplitterHorizontalFrac>
<SplitterVerticalFrac>0.25</SplitterVerticalFrac>
<Layout>Default</Layout>
<ToolBar />
<EntryView />
<TanView />
<EntryListColumnCollection>
<Column>
<Type>Title</Type>
<Width>90</Width>
</Column>
<Column>
<Type>UserName</Type>
<Width>90</Width>
</Column>
<Column>
<Type>Password</Type>
<Width>90</Width>
<HideWithAsterisks>true</HideWithAsterisks>
</Column>
<Column>
<Type>Url</Type>
<Width>90</Width>
</Column>
<Column>
<Type>Notes</Type>
<Width>90</Width>
</Column>
</EntryListColumnCollection>
<EntryListColumnDisplayOrder>0 1 2 3 4</EntryListColumnDisplayOrder>
<ListSorting>
<Order>Ascending</Order>
</ListSorting>
</MainWindow>
<UI>
<TrayIcon />
<Hiding />
<StandardFont>
<Family>Microsoft Sans Serif</Family>
<Size>8.25</Size>
<GraphicsUnit>Point</GraphicsUnit>
<Style>Regular</Style>
<OverrideUIDefault>false</OverrideUIDefault>
</StandardFont>
<PasswordFont>
<Family>Courier New</Family>
<Size>8.25</Size>
<GraphicsUnit>Point</GraphicsUnit>
<Style>Regular</Style>
<OverrideUIDefault>false</OverrideUIDefault>
</PasswordFont>
<BannerStyle>WinVistaBlack</BannerStyle>
<DataEditorFont>
<Family>Microsoft Sans Serif</Family>
<Size>8.25</Size>
<GraphicsUnit>Point</GraphicsUnit>
<Style>Regular</Style>
<OverrideUIDefault>false</OverrideUIDefault>
</DataEditorFont>
<UIFlags>0</UIFlags>
<KeyCreationFlags>0</KeyCreationFlags>
<KeyPromptFlags>0</KeyPromptFlags>
</UI>
<Security>
<WorkspaceLocking>
<LockAfterTime>0</LockAfterTime>
<LockAfterGlobalTime>0</LockAfterGlobalTime>
</WorkspaceLocking>
<Policy />
<MasterPassword>
<MinimumLength>0</MinimumLength>
<MinimumQuality>0</MinimumQuality>
</MasterPassword>
</Security>
<Native />
<PasswordGenerator>
<AutoGeneratedPasswordsProfile>
<GeneratorType>CharSet</GeneratorType>
<Length>20</Length>
<CharSetRanges>ULD_______</CharSetRanges>
</AutoGeneratedPasswordsProfile>
<LastUsedProfile>
<GeneratorType>CharSet</GeneratorType>
<Length>20</Length>
<CharSetRanges>ULD_______</CharSetRanges>
</LastUsedProfile>
<UserProfiles />
</PasswordGenerator>
<Defaults>
<OptionsTabIndex>4</OptionsTabIndex>
<SearchParameters>
<ComparisonMode>InvariantCultureIgnoreCase</ComparisonMode>
</SearchParameters>
<KeySources />
</Defaults>
<Integration>
<HotKeyGlobalAutoType>393281</HotKeyGlobalAutoType>
<HotKeySelectedAutoType>0</HotKeySelectedAutoType>
<HotKeyShowWindow>393291</HotKeyShowWindow>
<HotKeyEntryMenu>0</HotKeyEntryMenu>
<UrlSchemeOverrides>
<BuiltInOverridesEnabled>1</BuiltInOverridesEnabled>
<CustomOverrides />
</UrlSchemeOverrides>
<AutoTypeAbortOnWindows />
<ProxyType>System</ProxyType>
<ProxyAuthType>Auto</ProxyAuthType>
</Integration>
<Custom />
</Configuration>"""
% LanguageFile
)
else:
fichier = open(config, "r")
data = fichier.read()
fichier.close()
# force french
if not "<LanguageFile>" in data:
languagefile = r"""<Application>%s""" % LanguageFile
data = data.replace("<Application>", languagefile)
# disable update
if "<CheckForUpdate>true</CheckForUpdate>" in data:
data = data.replace("<CheckForUpdate>true</CheckForUpdate>", "<CheckForUpdate>false</CheckForUpdate>")
fichier = open(config, "w")
fichier.write(data)
fichier.close()
list_locales = {
"ar": "Arabic.lngx", # Arabic
"ca": "Catalan.lngx", # Catalan
"zh": "Chinese_Simplified.lngx", # Chinese - Simplified
"zh": "Chinese_Traditional.lngx", # Chinese - Traditional
"co": "French.lngx", # Corsican - France
"hr": "Croatian.lngx", # Croatian
"cs": "Czech.lngx", # Czech
"da": "Danish.lngx", # Danish
"nl": "Dutch.lngx", # Dutch
"et": "Estonian.lngx", # Estonian
"fi": "Finnish.lngx", # Finnish
"fr": "French.lngx", # French
"de": "German.lngx", # German - Germany
"el": "Greek.lngx", # Greek
"he": "Hebrew.lngx", # Hebrew
"hu": "Hungarian", # Hungarian
"is": "Icelandic.lngx", # Icelandic
"id": "Indonesian.lngx", # Indonesian
"it": "Italian.lngx", # Italian - Italy
"ja": "Japanese.lngx", # Japanese
"ko": "Korean.lngx", # Korean
"lv": "Latvian.lngx", # Latvian
"lt": "Lithuanian.lngx", # Lithuanian
"dsb": "German.lngx", # Lower Sorbian - Germany
"nb": "Norwegian_NB.lngx", # Norwegian - Bokmal
"nn": "Norwegian_NB.lngx", # Norwegian - Nynorsk
"ps": "Pashto.lngx", # Pashto - Afghanistan
"fa": "Persian.lngx", # Persian
"pl": "Polish.lngx", # Polish
"pt": "Portuguese_PT.lngx", # Portuguese - Brazil
"ro": "Romanian.lngx", # Romanian - Romania
"ru": "Russian.lngx", # Russian
"sr": "Serbian_Cyrillic.lngx", # Serbian
"sk": "Slovak.lngx", # Slovak
"sl": "Slovenian.lngx", # Slovenian
"es": "Spanish.lngx", # Spanish - Spain
"sv": "Swedish.lngx", # Swedish
"tr": "Turkish.lngx", # Turkish
"ug": "Arabic.lngx", # Arabic
"uk": "Ukrainian.lngx", # Ukrainian
"wen": "German.lngx", # Upper Sorbian - Germany
"vi": "Vietnamese.lngx", # Vietnamese
}
update_package.py
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import requests
import time
def update_package():
print("Download/Update package content from upstream binary sources")
# Getting proxy informations from WAPT settings
proxy = {}
if platform.system() == "Windows" and isfile(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini")):
proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
if proxywapt:
proxy = {"http": proxywapt, "https": proxywapt}
url = requests.head("https://sourceforge.net/projects/keepass/files/latest/download?source=files", proxies=proxy).headers["Location"]
dstzip = requests.head(url, proxies=proxy).headers["Location"]
filename = dstzip.rsplit("/", 1)[1]
print(filename)
version = filename.replace("KeePass-", "").split(".zip")[0]
filenameexe = "KeePass-%s-Setup.exe" % version
dstexe = dstzip.replace(filename, filenameexe)
print("Latest Version : " + version)
exes = glob.glob("*.exe")
for fn in exes:
if fn != filenameexe:
remove_file(fn)
if not isfile(filenameexe):
print("Downloading %s " % (filenameexe))
wget(dstexe, filenameexe, proxies=proxy)
else:
print("Already up to date, skipped")
control.version = "%s-%s" % (version, int(control.version.split("-", 1)[1]) + 1)
control.save_control_to_wapt()
print("Changing version to " + control.version + " in WAPT\\control")
print("Update package done. You can now build-upload your package")
for lngx in glob.glob("*.lngx"):
remove_file(lngx)
for line in wgets("https://keepass.info/translations.html", proxies=proxy).splitlines():
if "KeePass-%s" % version[:2] in line:
lfd = line.replace('<td><a href="', "").replace('" target="_blank">', "")
if not "-Help-" in lfd.rsplit("/", 1)[1]:
if not lfd.startswith('http'):
lfd = "https://keepass.info/" + lfd
# BUG
if not "Portuguese_BR" in lfd.rsplit("/", 1)[1]:
try:
print("Try Download %s" % lfd)
wget(lfd, lfd.rsplit("/", 1)[1], connect_timeout=30, proxies=proxy)
except:
# Try Again
wget(lfd, lfd.rsplit("/", 1)[1], connect_timeout=30, proxies=proxy)
unzip(lfd.rsplit("/", 1)[1], target=".")
remove_file(lfd.rsplit("/", 1)[1])
time.sleep(2)
ea53f7f944fada950cd7bb154deb078123a357b7bc5e2484851762b3552eb48b : KeePass-2.57-Setup.exe
60da0d17a281dc44b6f4485fd91db78745218abca35bcd5b10a12fa733400555 : Chinese_Traditional.lngx
5b08160921a667690f6ddb95a014ec1964956ef60820f454eda7d02f8df97f7a : Danish.lngx
fa0e4bf77c9f7eaba60d711c0d72d25e4a4bb48cad74ea4a186175906256f25d : Tamil.lngx
3a172a4e5ff54c0903bb2a1fd083dbe0a1a5d1cd28cd16a0d53bfd7567ac5b11 : Dutch.lngx
24a200fd9727ee54fc37b7be79afa4d2d463833feeb53df482ea9806f3e5d69e : Hebrew.lngx
a2a5e96659db8a5ba537ddfdddbc6a5ccd0c4a62a71c7fe1cd685d95bb2708fb : setup.py
1de9a47dddbb6d154d86a7fbd72df882d5fbe58f213639c1ed2615742fc2e570 : Latin.lngx
8971855c4af5e474671be3a4497155d8db74e5c66cd01a728ae8ec35655bb370 : Lithuanian.lngx
7e1db91402d9e0fb8e93c7db3a0141fb8e38c9f4d63e952681059d631248059a : Bulgarian.lngx
: __pycache__
6d43ad42bafefc02dd5bef30edb389200e07c86add9acd97fc3025692b8b27fa : Japanese.lngx
90ae0e6404157b750ca852d380d48b313dd8683f3c44b83171ff6886bc1a9573 : Persian.lngx
028ad9147eddd5494ff8c9de25431182347b3d4cde509b1c4be88595e674a921 : Hungarian.lngx
a750e3244f28827c684f46612db9503f533e2e0b3f270e4c2fb899f3c6dd7875 : Norwegian_NB.lngx
8af0d820dcb9076f4e82de7aaa867ededce50369764ce5bfb897713d59652e20 : Ukrainian.lngx
c79f582a753d19cc10572be57a56076421a8415ae16fe2c3e21cac4a060a836c : Polish.lngx
83ef7c58d1f6a024a106e3fd3b1e238aa3769e6d9ae04070a302610770e45f34 : Slovak.lngx
8651a74921b9c14060342ddee551e2b0af0c56a8cd520a371d4ae5c03468fde1 : Catalan.lngx
d4acfa2d17bc4b0f40ea6a9f996aeb4129c162be721c2d20d2b905de68a261f3 : update_package.py
eb958eca18e1d01c8537c4fd34ed1a1dac4d8e50983972be98a53fe11c30238f : Croatian.lngx
11053bf658a7e95baf452e90bf5c48d78a7ccb1071c8165d9f00a8c82ee32221 : Korean.lngx
83203695b7e20ceeba33bdf969a04c6e4046094773e91d10d295167d2281642c : Vietnamese.lngx
028521406be54aeba1fb90e70dc9ba4810cf7d5b11bf90f6a3914c7766d4d148 : Serbian_Latin.lngx
fc55a717cf3288b20f589e51668c0172580e8cee7d666862eb58ea2033aa87c6 : Spanish.lngx
b8f5aeb01df6c155ec8a6480ec12e3defffaad08e07f371322b047d29a76e039 : Chinese_Simplified.lngx
26889a61f870a58ad58c6c04a00369e06e2186ee79656a3fe67de3811e1cdcda : Slovenian.lngx
37951c3d19fda0a99ece7ffc752bcd2c6e0f46fd99be3bd3e4490466147c0e59 : Russian.lngx
12b2524f16949cdf824dd2804d3d8f800b51f4b27a98a3d349a60e3756841d33 : Portuguese_PT.lngx
9cb3d2b6d58840d48b9cf61f34e54e3f241d48fa2937e33aacee83c4b4c5ca8b : Finnish.lngx
9855b4f581d2abce7c7418d436092535d7e01d4da9096bcdbae39edc9c7d9f1f : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
79d14cbea68990ae682b708c968e51cad659000856c4782abaabf542cc4c1e9d : Italian.lngx
5cbc650e3c3197024474fe8363415bf0c9c1de078252355b1245e8401c53f402 : Czech.lngx
0bfae3e39375b26aa6c8f53ff470efe54c2910dae8c0de22a9f74e40918ec421 : luti.json
17bb60fd747d4a53b802adc795c24a4908dba82d9f956f943fc8962cfe748206 : Thai.lngx
f2480ea0741985a553eeed0fa6be620f4101e9fe2c446d105df86e15a446a249 : Indonesian.lngx
84b0d0804fe333d5da6326775189eb4aec0297fc7fbd2ec5ca9b671914d1084f : Arabic.lngx
ea4d5c2bc2c53f59681aafc2a7cf12e8bac5b4cefc812cd67ba041df1b7e025c : Greek.lngx
e207a38c6b2116af8a70b3e0d9517f6a76ebb590701236489f55068f724210ea : Icelandic.lngx
1a77908455ff975ff57455c750f063e0a8de404d7c9af36df0724bc73e49ac9f : Pashto.lngx
d40c7b523fd26f7f306edecd204cdb369ac7012f566d625613c7863987b4435f : German.lngx
8e150be2e7dd9eeab9f27f73f71f5bbcc1784d45adbe76495bff971d721b8116 : French.lngx
8756ab03a5d397f05be3babac9737eb7b5e0c87ae65fcc3137c1dc8463293d63 : Basque.lngx
930d5de1af9ee238465097b391bd928df442bd494ef6531ff570d488dc79ec0e : Romanian.lngx
c7cd1dd7628b787b7abef6d53f8ab81f014f65904a600ce13bb0fdcf5f3562f7 : Estonian.lngx
6ebf9bf7cc13c99815f49f1a9b7d71f263bc853b928f191465b3221b1c08bac9 : Swedish.lngx
4bfd155ee9ec23f182a72915135a85c5153242e0110646bf1f904cea2cdd795b : Turkish.lngx
c5bdd69779554a2ad5e223989cdae84fff6e8ddc45bf64288b74ef82d7cb3b6d : Latvian.lngx
5bdbe4629b7728e91ecfbf2b8da0f54c2801c9f084e44eab613fc81c3750a93e : Serbian_Cyrillic.lngx
af777ad91e7bb25eda6073e273f73d680321f1541d74614df54973f599296083 : WAPT/control