MacPassHTTP使用
2016-01-24 本文已影响1439人
ssl19
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

make ```load unsecure plugins```available.
## plugins
* plugin of Safari: [passsafari](https://github.com/mmichaa/passafari.safariextension/releases)
and there are the settings

* plugin of the Chrome
> chromepass
search it on the Chrome Web Store then enjoy it :)