| 
 | 
 | 
The app settings can be found in the administrative area of Nextcloud.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## Internal Data Processing
 | 
| 
 | 
 | 
# Internal Data Processing
 | 
| 
 | 
 | 
These settings influence how Passwords processes different types of data internally.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Image Rendering
 | 
| 
 | 
 | 
## Image Rendering
 | 
| 
 | 
 | 
You have two options for image rendering.
 | 
| 
 | 
 | 
If Imagemagick or Graphicsmagick are installed on your system, they will automatically be chosen as default.
 | 
| 
 | 
 | 
GDLib should only be chosen if Imagemagick is broken or not available.
 | 
| ... | ... | @@ -14,86 +14,102 @@ GDLib usually provides lower image quality and might not work with all formats. | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## External Services
 | 
| 
 | 
 | 
# External Services
 | 
| 
 | 
 | 
In this section you can configure all the third party services used by Passwords.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Password Security Checks
 | 
| 
 | 
 | 
## Password Security Checks
 | 
| 
 | 
 | 
This service is used to check if a password is safe or not.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Have I been pwned?** is the recommended service.
 | 
| 
 | 
 | 
Checks SHA-1 hashes against the database of [haveibeenpwned.com](https://haveibeenpwned.com/) which contains hundreds of millions of compromised passwords.
 | 
| 
 | 
 | 
#### Have I been pwned?
 | 
| 
 | 
 | 
This is the recommended service.
 | 
| 
 | 
 | 
It checks SHA-1 hashes against the database of [haveibeenpwned.com](https://haveibeenpwned.com/) which contains hundreds of millions of compromised passwords.
 | 
| 
 | 
 | 
The service is privacy friendly since it downloads data from the api and does the comparison locally and never sends any identifying information to the api.
 | 
| 
 | 
 | 
The service is the most up-to-date source when it comes to notifying you about breached passwords.
 | 
| 
 | 
 | 
[More details about the service can be found here.](./Services/Password-Security-Check-Services#have-i-been-pwned)
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Big local database (25M passwords)** downloads a static database of 25 million breached passwords and stores them locally.
 | 
| 
 | 
 | 
#### Big local database (25M passwords)
 | 
| 
 | 
 | 
This service downloads a static database of 25 million breached passwords and stores them locally.
 | 
| 
 | 
 | 
The security check is performed locally and no external service is involved.
 | 
| 
 | 
 | 
The downside is the significantly smaller database which is also updated less often.
 | 
| 
 | 
 | 
[More details about the service can be found here.](./Services/Password-Security-Check-Services#big-local-database-25m-passwords)
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Small local database (5M passwords)** downloads a static database of 5 million breached passwords and stores them locally.
 | 
| 
 | 
 | 
#### Small local database (5M passwords)
 | 
| 
 | 
 | 
This service downloads a static database of 5 million breached passwords and stores them locally.
 | 
| 
 | 
 | 
The security check is performed locally and no external service is involved.
 | 
| 
 | 
 | 
The downside is the significantly smaller database which is also updated less often.
 | 
| 
 | 
 | 
[More details about the service can be found here.](./Services/Password-Security-Check-Services#small-local-database-5m-passwords)
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Big local database & Hibp?** combines the "Have i been pwned?" and "Big local database" services.
 | 
| 
 | 
 | 
#### Big local database & Hibp?
 | 
| 
 | 
 | 
This service combines the "Have i been pwned?" and "Big local database" services.
 | 
| 
 | 
 | 
The service checks against the local database first and only contacts Hibp? if the SHA-1 hash is not found locally.
 | 
| 
 | 
 | 
This reduces the number of requests to the Hibp? api and speeds up the check.
 | 
| 
 | 
 | 
[More details about the service can be found here.](./Services/Password-Security-Check-Services#big-local-database--hibp)
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Password Generator Service
 | 
| 
 | 
 | 
## Password Generator Service
 | 
| 
 | 
 | 
This service will be used to generate the basic words for a new password.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Select automatically** selects the best fitting service based on availability.
 | 
| 
 | 
 | 
#### Select automatically
 | 
| 
 | 
 | 
Selects the best fitting password generator service based on availability.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Leipzig Corpora Collection** supports english, german, french, italian, spanish, portuguese, dutch, dansk, czech and polish.
 | 
| 
 | 
 | 
#### Leipzig Corpora Collection
 | 
| 
 | 
 | 
This service supports english, german, french, italian, spanish, portuguese, dutch, dansk, czech and polish.
 | 
| 
 | 
 | 
The service returns random words from a randomly selected corpora and has the largest language support.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Local Dictionary** detects and uses locally installed dictionaries for english, german, french, italian, spanish and portuguese.
 | 
| 
 | 
 | 
#### Local Dictionary
 | 
| 
 | 
 | 
Detects and uses locally installed dictionaries for english, german, french, italian, spanish and portuguese.
 | 
| 
 | 
 | 
Actually available options depend on which dictionaries are installed on the server.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**watchout4snakes.com** is only available in english.
 | 
| 
 | 
 | 
#### watchout4snakes.com
 | 
| 
 | 
 | 
The service is only available in english.
 | 
| 
 | 
 | 
It can provide words based on their rarity and type and is therefore a great service to generate easy to remember and secure passwords.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Random Characters** generates sets of random letters for the service.
 | 
| 
 | 
 | 
This service has no dependencies.
 | 
| 
 | 
 | 
#### Random Characters
 | 
| 
 | 
 | 
Generates sets of random letters.
 | 
| 
 | 
 | 
This service has no dependencies but password may be hard to remember or write.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Favicon Service
 | 
| 
 | 
 | 
## Favicon Service
 | 
| 
 | 
 | 
This service delivers the website favicons .
 | 
| 
 | 
 | 
The icons are only fetched once for a domain and then stored locally.
 | 
| 
 | 
 | 
If you change this setting, clear the favicon cache and your browser cache to see changes.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Local analyzer** fetches the start page of the domain and searches for common icon tags.
 | 
| 
 | 
 | 
#### Local analyzer
 | 
| 
 | 
 | 
Fetches the start page of the domain and searches for common icon tags.
 | 
| 
 | 
 | 
This service usually finds the most icons, but also the most useless icons.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Besticon** uses a [besticon](https://github.com/mat/besticon) third party service to find icons.
 | 
| 
 | 
 | 
#### Besticon
 | 
| 
 | 
 | 
Connects to a [besticon](https://github.com/mat/besticon) instance to find icons.
 | 
| 
 | 
 | 
It usually returns the best icons and also good default icons if none is found.
 | 
| 
 | 
 | 
If no api url is provided, our shared Besticon instance will be used.
 | 
| 
 | 
 | 
The service can be self hosted by following our [tutorial](./Besticon-Self-Hosting).
 | 
| 
 | 
 | 
The url for the service can be defined in the settings. Any compatible api is accepted.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**favicongrabber.com** is free, requires no software and delivers good icons.
 | 
| 
 | 
 | 
#### favicongrabber.com
 | 
| 
 | 
 | 
Is free, requires no software and delivers good icons.
 | 
| 
 | 
 | 
There is an api request limit which means that it can be slower.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**DuckDuckGo** uses the icon service of the search engine.
 | 
| 
 | 
 | 
#### DuckDuckGo
 | 
| 
 | 
 | 
Uses the icon service of the search engine.
 | 
| 
 | 
 | 
All icons have a native resolution of 32 pixels.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Google** uses googles icon service.
 | 
| 
 | 
 | 
#### Google
 | 
| 
 | 
 | 
Uses the Google icon service.
 | 
| 
 | 
 | 
It finds the least icons and they usually have a crappy resolution.
 | 
| 
 | 
 | 
As usual with Google, there is no knowing what they do with any data collected by their service.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**None** always returns a default icon.
 | 
| 
 | 
 | 
#### None
 | 
| 
 | 
 | 
Always returns the fallback icon.
 | 
| 
 | 
 | 
It is the fastest and most privacy friendly service.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Favicon Service Api
 | 
| 
 | 
 | 
## Favicon Service Api
 | 
| 
 | 
 | 
If you use a service with an API, you can enter the url here.
 | 
| 
 | 
 | 
If you change this setting, clear the favicon cache and your browser cache to see changes.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Website Preview Service
 | 
| 
 | 
 | 
## Website Preview Service
 | 
| 
 | 
 | 
This service is used to generate previews of websites.
 | 
| 
 | 
 | 
Only the front page of the domain is called and at maximum twice for mobile and desktop views.
 | 
| 
 | 
 | 
If you change this setting, clear the favicon cache and your browser cache to see changes.
 | 
| ... | ... | @@ -101,12 +117,14 @@ If you change this setting, clear the favicon cache and your browser cache to se | 
| 
 | 
 | 
If you know a good program or service, feel free to open an issue to support it.
 | 
| 
 | 
 | 
(Requirements: Offers a free plan and has an api)
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Pageres CLI** requires [pageres-cli](https://github.com/sindresorhus/pageres-cli) to installed locally.
 | 
| 
 | 
 | 
#### Pageres CLI
 | 
| 
 | 
 | 
Requires [pageres-cli](https://github.com/sindresorhus/pageres-cli) to installed locally.
 | 
| 
 | 
 | 
Usually very reliable local and headless preview generator with a modern browser engine.
 | 
| 
 | 
 | 
If the installation with NPM fails, try `sudo npm install --global pageres-cli --unsafe-perm`.
 | 
| 
 | 
 | 
If you are using a docker container, add `--cap-add=SYS_ADMIN` to the docker command to enable the chrome sandbox.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Browshot** offers 100 free screenshots per month.
 | 
| 
 | 
 | 
#### Browshot
 | 
| 
 | 
 | 
Offers 100 free screenshots per month.
 | 
| 
 | 
 | 
The api offers HTTPS by default, you can view the screenshots in your account and you can buy additional screenshots as you need.
 | 
| 
 | 
 | 
Passwords will check your account and use free screenshots if possible. 
 | 
| 
 | 
 | 
(Instance 27 is used for desktop and instance 67 for mobile.)
 | 
| ... | ... | @@ -114,43 +132,47 @@ If your account balance allows it, passwords will use premium instances if no fr | 
| 
 | 
 | 
(Instance 58 is used for desktop and instance 275 for mobile.)
 | 
| 
 | 
 | 
You can specify the premium instance to use with the config keys `service/preview/bws/mobile` and `service/preview/bws/desktop` manually.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**screeenly** offers unlimited free screenshots and [self hosting](https://github.com/stefanzweifel/screeenly/wiki/Requirements-and-Install)
 | 
| 
 | 
 | 
#### screeenly
 | 
| 
 | 
 | 
Offers unlimited free screenshots and [self hosting](https://github.com/stefanzweifel/screeenly/wiki/Requirements-and-Install)
 | 
| 
 | 
 | 
It has HTTPS by default and usually creates proper screenshots.
 | 
| 
 | 
 | 
You can either just enter an api key and use the hosted version at [screeenly.com](https://secure.screeenly.com/) or enter a full url like `https://secure.screeenly.com/api/v1?key=yourapikey` where everything before `?key=` is the api url and the key is your api key.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**screenshotlayer** offers 100 free screenshots per month.
 | 
| 
 | 
 | 
#### screenshotlayer
 | 
| 
 | 
 | 
Offers 100 free screenshots per month.
 | 
| 
 | 
 | 
If you need more, you have to buy a subscription.
 | 
| 
 | 
 | 
Triggers the bot protection on more websites and HTTPS is not supported.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**screenshotmachine.com** offers 100 fresh screenshots for free per month (accumulative) and impressions are free.
 | 
| 
 | 
 | 
#### screenshotmachine.com
 | 
| 
 | 
 | 
Offers 100 fresh screenshots for free per month (accumulative) and impressions are free.
 | 
| 
 | 
 | 
You pay what you use, it is quite fast and supports different devices.
 | 
| 
 | 
 | 
HTTPS is not supported.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**None** just delivers one of five default images.
 | 
| 
 | 
 | 
#### None
 | 
| 
 | 
 | 
Just delivers one of five default images.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Website Preview API Key
 | 
| 
 | 
 | 
## Website Preview API Key
 | 
| 
 | 
 | 
If you use "Browshot", "screenshotlayer" or "screenshotmachine.com", you will have to provide an api key here.
 | 
| 
 | 
 | 
Otherwise these services will not work.
 | 
| 
 | 
 | 
If you change this setting, clear the favicon cache and your browser cache to see changes.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## Default Email Settings
 | 
| 
 | 
 | 
# Default Email Settings
 | 
| 
 | 
 | 
These settings can be overwritten by the user.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Send emails for security events
 | 
| 
 | 
 | 
## Send emails for security events
 | 
| 
 | 
 | 
Enable emails for security relevant events by default.
 | 
| 
 | 
 | 
This will enable emails for bad passwords.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Send emails for sharing events
 | 
| 
 | 
 | 
## Send emails for sharing events
 | 
| 
 | 
 | 
Send emails when a password was shared with an user.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## Default Password Security Settings
 | 
| 
 | 
 | 
# Default Password Security Settings
 | 
| 
 | 
 | 
These settings can be overwritten by the user.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Security Check Hash
 | 
| 
 | 
 | 
## Security Check Hash
 | 
| 
 | 
 | 
This setting defines which percentage of the SHA-1 hash used to compare each password against a list of known compromised passwords should be stored.
 | 
| 
 | 
 | 
If your server is compromised, an attacker could use the SHA-1 hash to find the plain text value of a compromised password.
 | 
| 
 | 
 | 
Storing a partial hash can reduce this risk, but also means that passwords may be marked as compromised despite being secure.
 | 
| ... | ... | @@ -162,18 +184,18 @@ If a longer value is selected, the existing hashes will *not* be updated and rem | 
| 
 | 
 | 
Changing this setting will have no impact on the status of passwords which were already marked as compromised.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## Backup Settings
 | 
| 
 | 
 | 
# Backup Settings
 | 
| 
 | 
 | 
Passwords makes regular backups of the raw password database.
 | 
| 
 | 
 | 
These backups can be used to restore the entire database or the database of a specific user.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Backup Interval
 | 
| 
 | 
 | 
## Backup Interval
 | 
| 
 | 
 | 
Specifies the interval in which backups should be created automatically.
 | 
| 
 | 
 | 
The default value is `Every Day`.
 | 
| 
 | 
 | 
You can also create backups manually with the command line command.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
**Note:** You can not disable automated backups since we _really_ can't help you when you loose your data.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Amount of backups to keep
 | 
| 
 | 
 | 
## Amount of backups to keep
 | 
| 
 | 
 | 
Specifies the amount of backups to keep.
 | 
| 
 | 
 | 
If the maximum is reached, the oldest backup will be deleted.
 | 
| 
 | 
 | 
This setting also includes manually created backups.
 | 
| ... | ... | @@ -182,45 +204,45 @@ The shorter your backup interval is, the higher this setting should be to cover | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## Other Settings
 | 
| 
 | 
 | 
# Other Settings
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Remove deleted objects from database
 | 
| 
 | 
 | 
## Remove deleted objects from database
 | 
| 
 | 
 | 
Specifies the time after which passwords, folders and tags deleted by the user will be removed from the database permanently.
 | 
| 
 | 
 | 
This setting does not affect the data of deleted users which will always be deleted permanently.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Show Nightly Updates in "Apps"
 | 
| 
 | 
 | 
## Show Nightly Updates in "Apps"
 | 
| 
 | 
 | 
This setting will modify the Nextcloud core to enable the installation of nightly updates for the passwords app.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Server survey participation
 | 
| 
 | 
 | 
## Server survey participation
 | 
| 
 | 
 | 
The server survey will send us some anonymous data of your server once a week.
 | 
| 
 | 
 | 
This helps us to plan the future development of the app.
 | 
| 
 | 
 | 
You can either contribute basic data (Nextcloud, App and PHP version) or full data (App Settings, Encryption usage) or no data at all.
 | 
| 
 | 
 | 
You can read more about this [here](./Server-Survey) or take a look at our [statistics](https://ncpw.mdns.eu/) generated from the data. 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## Caches
 | 
| 
 | 
 | 
# Caches
 | 
| 
 | 
 | 
Caches are used to store temporary data. they are usually not emptied by the app.
 | 
| 
 | 
 | 
If problems occur, the first tip is always to empty the related cache.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Default Cache
 | 
| 
 | 
 | 
## Default Cache
 | 
| 
 | 
 | 
Usually not used. Contains general files.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Avatars Cache
 | 
| 
 | 
 | 
## Avatars Cache
 | 
| 
 | 
 | 
Contains rendered images of user avatars.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Favicon Cache
 | 
| 
 | 
 | 
## Favicon Cache
 | 
| 
 | 
 | 
Contains the raw and scaled favicons.
 | 
| 
 | 
 | 
This cache can not be cleared if you are using the shared BestIcon instance.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Pageshot Cache
 | 
| 
 | 
 | 
## Pageshot Cache
 | 
| 
 | 
 | 
Contains the raw website screenshots and resized or cropped versions.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### Passwords Cache
 | 
| 
 | 
 | 
## Passwords Cache
 | 
| 
 | 
 | 
Contains lists with bad passwords.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## Optimal settings
 | 
| 
 | 
 | 
# Optimal settings
 | 
| 
 | 
 | 
Which settings are optimal for you is dependent on your use case is dependent on your use case.
 | 
| 
 | 
 | 
This table is intended to help with that choice.
 | 
| 
 | 
 | 
 | 
| ... | ... |  | 
| ... | ... |  |