User Tools

Site Tools


docu:chseet:ofsec:sec:otp_comand_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docu:chseet:ofsec:sec:otp_comand_line [2020/05/21 10:36]
admin
docu:chseet:ofsec:sec:otp_comand_line [2020/08/17 09:34]
admin
Line 19: Line 19:
 # (optionally), you can copy directly to clipboard without cat'ing it # (optionally), you can copy directly to clipboard without cat'ing it
 # by using the xclip tool (apt-get install xclip) # by using the xclip tool (apt-get install xclip)
-cat ~/.otp/proton | xargs oathtool --totp --base32 | xclip -i /dev/stdin+cat ~/.otp/proton | xargs oathtool --totp --base32 | xclip -rmlastnl -i /dev/stdin
  
 </code> </code>
  
 \\ \\
-Have a QR code on the screen and don't know how to copy the secret value manually?? +**Have a QR code on the screen** and don't know **how to copy** the secret value **manually**?? 
-unless the service gives you the ability to copy the secret directly, you won't be able to do so.+unless the **service gives you the ability** to copy the secret directly, you **won't be able** to do so.
  
-Follow the other guide i made about [[docu:csheet:dtproc:images:qr_code_parsing|QR code image handling]] so you can save the secret for creating codes on the command line later.+Follow the **other guide** i made about [[docu:csheet:dtproc:images:qr_code_parsing|QR code image handling]] so you can **save the secret for creating codes** on the command line later.
  
docu/chseet/ofsec/sec/otp_comand_line.txt · Last modified: 2020/08/17 09:34 by admin