How to Install KeePass on M1 Mac
KeePass is good at syncing (via FTP or DAV). I missed that functionality on Windows.
Here's how I install and use KeePass on MacOS:
## Install wine-crossover
```bash
brew tap gcenx/wine
brew install --cask --no-quarantine wine-crossover
```
## Install winetricks
```bash
brew install winetricks
```
## Install .NET
```bash
winetricks -q dotnet472
```
## Install mono
ref: [StackOverflow](https://askubuntu.com/questions/644236/mono-does-not-appear-to-be-installed-error-winetricks)
1. Download [wine-mono.msi](http://dl.winehq.org/wine/wine-mono) from the official winehq site.
1. Run `wine64 uninstaller`
1. A window should popup. Inside the window choose the `mono.msi` file you just downloaded, and then click `install`
## Install clipboard dependences
```bash
brew install xsel
brew install xdotool
```
## Install KeePass.zip
Please download the exact KeePass version that you used on Windows. Or you may encounter the error `keepass failed to load the specified file the master key is invalid` when opening the old kdbx file with the correct password.
1. Unzip `KeePass.zip` and move the folder to `/Applications/`.
## Use KeePass
1. On `/Applications/KeePass_folder_xxx/KeePass.exe` -> Right click -> Open With -> Wine Crossover.
1. Choose a kdbx file and you are good to go.
## Done
![succeed](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhBU4-uUQHd3uybsHP-6OaR6rsm0GJrKX5D9eMk1cctSPjxpXay_dRUPhConNA7ulBe7zdNoRU6oZv5CodIR63fxoDXZkO90vcsSuOKhsx82Om1A22632YfGCsgLp-XWEi2EhinpQkId4mmkgT0_xZTJDnxn55jDvvskXpDwVmEG_5VBgZ29ZMHQ/s320/Screen%20Shot%202022-03-27%20at%2000.01.55.png)
## P.S.
If it's still not working when you done all the steps above:
I also have monoFramework.universal.pkg and `brew install wine-stable` installed.
---
Error keywords for search:
```
wine: Bad CPU type in executable
keepass failed to load the specified file the master key is invalid
```
评论
发表评论