use libWRP-key, and support mac/OSX complete