To obtain xpub on KeepKey with OS X, here are the following steps:

 

  1. Open the terminal
  2. Install pip: sudo easy_install pip
  3. Install Cython: sudo pip install cython
  4. Install the keepkey client: pip install keepkey
  5. Retrieve xpub key: keepkeyctl get_public_node -n "44'/0'/0'"
  6. Enter your pin when it is requested


The last line of the output contains the XPUB.


node {
  depth: 3
  fingerprint: 2158709037
  child_num: 2142483628
  chain_code: "\337\304\362jt\336\372\032R\232J\037\357\024I_6#[\302>(3\222e\'[2(\245[\354"
  public_key: "\002\3050\221\250\325\005S\013\034\003\365w\241\025\273p\033\325j`\035\203\332P\241\252\\\275^\312\353\365"
}
xpub: "xpub6CrsHBbf8iQ9cYqfR5R2HxpUshvjC5RAxKuT5BUYQ2SVMrc1pGPbLUh8KAJg2FozCpZLASSRvmXrGWwbdJW1wxGiQCsxdLojbkwjXenmn4A"