MacPass是基于keepass的一个开源的密码管理工具。本文主要介绍MacPass的编译安装以及浏览器密码自动填充功能的实现。
浏览器自动填充功能的实现需要MacPassHTTP插件,而该插件无现有的release版本,需要自己编译实现。
一,相关环境要求
- Xcode
-
Homebrew
在终端中输入
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"````
* git
`` brew install git``
## 二,编译过程
摘自[这篇文章](https://github.com/MacPass/MacPassHTTP)
* Clone the repository
``cd ~/desktop
git clone https://github.com/MacPass/MacPassHTTP
cd MacPassHTTP``
* Install [Carthage](https://github.com/Carthage/Carthage#installing-carthage)
``brew install carthage``
* Fetch and build dependencies for MacPassHTTP
```cd ~desktop```
carthage bootstrap --platform Mac
* Clone MacPass and fetch and build dependencies
``git clone https://github.com/mstarke/MacPass
cd MacPass
git submodule update --init --recursive
carthage bootstrap --platform Mac
``
* Compile and Install MacPass
cd ~/desktop/MacPass
xcodebuild
* Compile and Install MacPassHTTP
``
cd ~/desktop/MacPassHTTP
xcodebuild
``
The Plugin is moved to the plugin folder of MacPass automatically.
````~/Libary/Application Support/MacPass/MacPassHTTP.mpplugin````
Path of the build MacPass
```~/Desktop/MacPass/build/Release/MacPass.app ```
you can copy it to the ```Application```Folder
* Then open the preference of MacPass
![Screenshot 2016-01-24 19.01.54.png](http://upload-images.jianshu.io/upload_images/1259073-b88d5c7f393e1e2d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
make ```load unsecure plugins```available.
## plugins
* plugin of Safari: [passsafari](https://github.com/mmichaa/passafari.safariextension/releases)
and there are the settings
![Screenshot 2016-01-24 19.12.25.png](http://upload-images.jianshu.io/upload_images/1259073-2c45ca7316983ebb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
* plugin of the Chrome
> chromepass
search it on the Chrome Web Store then enjoy it :)