add  button/pin/passphrase protection to ping call in cmd.py