Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yhsm-decrypt-aead(1) [debian man page]

yhsm-decrypt-aead(1)					      General Commands Manual					      yhsm-decrypt-aead(1)

NAME
yhsm-decrypt-aead - Decrypt AEADs (with secrets for YubiKeys) SYNOPSIS
yhsm-decrypt-aead [options] --aes-key KEY file-or-dir [...] DESCRIPTION
Decrypt AEADs generated using a YubiHSM. NOTE that this requires knowledge of the AES key used in the YubiHSM. After a number of YubiKey secrets have been generated using yhsm-generate-keys(1) , this tool can decrypt them and produce a CSV file usable to personalize corresponding YubiKeys. OPTIONS
-v, --verbose Enable verbose operation. --debug Enable debug printout. --format str Select output format (raw or yubikey-csv). --print-filename Prefix any output with the input filename. --key-handle kh Key handle used when generated AEADs, if not stored in the AEAD file (AEAD generated with python-pyhsm 1.0.3 or lower). --aes-key hexstr AES key used to generate the AEADs. EXIT STATUS
0 OK 1 Fail BUGS
Report python-pyhsm/yhsm-decrypt-aead bugs in the issue tracker <https://github.com/Yubico/python-pyhsm/issues/> SEE ALSO
The python-pyhsm home page <https://github.com/Yubico/python-pyhsm/> YubiHSMs and YubiKeys can be obtained from Yubico <http://www.yubico.com/>. python-pyhsm June 2012 yhsm-decrypt-aead(1)

Check Out this Related Man Page

yhsm-yubikey-ksm(1)					      General Commands Manual					       yhsm-yubikey-ksm(1)

NAME
yhsm-yubikey-ksm - Decrypt YubiKey OTPs using an attached YubiHSM SYNOPSIS
yhsm-yubikey-ksm --key-handles ... [options] DESCRIPTION
This is a small network server with a REST-like API that decodes YubiKey OTPs. It can be used as a decryption backend (Key Storage Module) to a validation service such as the YubiCloud. The AES keys of the YubiKeys must be present as AEAD files decryptable to the attached YubiHSM. Such AEADs can for example be created using yhsm-import-keys(1). Note that this daemon is single threaded - it will only handle a single request at once. A request timeout is therefor most important. OPTIONS
-D, --device device file name (default: /dev/ttyACM0) -v, --verbose enable verbose operation --debug enable debug printout, including all data sent to/from YubiHSM --U, --serve-url base base of URL for decrypt web service (default: /yhsm/validate?) --port num port to listen on (default: 8002) --addr addr address to bind to (default: 127.0.0.1) --key-handles kh, --key-handle kh key handles to use for decoding OTPs. Examples : "1", "0xabcd". --aead-dir dir, -B dir base directory for AEADs (default: /var/cache/yubikey-ksm/aeads) --reqtimeout num number of seconds before a request times out (default: 5) --pid-file fn write process id of server to this file BUGS
Report python-pyhsm/yhsm-yubikey-ksm bugs in the issue tracker <https://github.com/Yubico/python-pyhsm/issues/> SEE ALSO
The python-yubico home page <https://github.com/Yubico/python-pyhsm/> YubiHSMs can be obtained from Yubico <http://www.yubico.com/>. python-pyhsm December 2011 yhsm-yubikey-ksm(1)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

NEWBIE QUESTION: python 3 or 2.6.x

I'm a newbie and want to learn a programming language, willy-nilly I picked python... Should I go with 2.6.x which at first glance seems extremely well documented, or should I go with 3.0, which is new and shiny?! I want...no...I'm going to NEED fantastic documentation or I'm going to fail... (2 Replies)
Discussion started by: guptaxpn
2 Replies

2. Programming

Which language is best suited for regular expressions perl,python.ruby ?

Hello all, i am in a bit of dilema here. i dont know any thing about perl or python. only know a little bit of awk. now unable to take a decission as to which language to go for. my requirement is building a testing framework.suite which will execute ssytem comands remotely on unix... (2 Replies)
Discussion started by: achak01
2 Replies

3. Shell Programming and Scripting

openssl DES3 in scripting

hi, I have this script in python #!/usr/bin/env python from Crypto.Cipher import DES3 def desEncrypt(key, data): d = des4me(key) return d.encrypt(data) def des4me(key): return DES3.new(key, DES3.MODE_ECB) ... (8 Replies)
Discussion started by: kazikamuntu
8 Replies

4. Programming

Bandwidth monitoring using python

I wish to develop an application to monitor the network traffic of my system. I wish to know which computer networked to me is using most of the bandwidth. I know the basics of python but do not know how to start the work.. please suggest some good methods to follow. (7 Replies)
Discussion started by: coderhs
7 Replies

5. Programming

7 days into learning PYTHON & looking for some feedback

Hey folks. Title says it all, but... It's been an interesting few days. Never done anything object-oriented before. Previously only had BASH experience. I'm LOVING python. I see so much potential (of course). Can't wait to really get a feel for what's available in the Standard Library. I have no... (6 Replies)
Discussion started by: ryran
6 Replies

6. UNIX for Advanced & Expert Users

How to decrypt a file in UNIX?

I have a file which contains encrypted data. Can anyone tell me how to decrypt the file? (14 Replies)
Discussion started by: saga20
14 Replies

7. Shell Programming and Scripting

Execute python file, FTP output to another server

Greetings all, We are implementing a new tool called URLwatch which is a python utility. Here are the requirements. 1) Run every 10 seconds 2) Execute the python script 3) Output file gets generated, FTP it to a differernt server I gave no idea how to do this and management needs a demo... (3 Replies)
Discussion started by: jeffs42885
3 Replies

8. Shell Programming and Scripting

Pass some data from csv to xml file using shell/python

Hello gurus, I have a csv file with bunch of datas in each column. (see attached) Now I have an .xml file in the structure of below: ?xml version="1.0" ?> <component id="root" name="root"> <component id="system" name="system"> <param name="number_of_A" value="8"/> ... (5 Replies)
Discussion started by: Zam_1234
5 Replies

9. AIX

How to install python on the AIX 5.2?

Hi folks, Could tell me how to install python on the AIX 5.2 ? What better method for install: rpm or compiling? Regards. (4 Replies)
Discussion started by: stenioc1
4 Replies

10. Shell Programming and Scripting

Soft kill a process to redirect the last kbytes output to a file

Hey guys, I have a python script that I call with this line: python mypythonscript.py >> results.csv &The problem is that the redirection from the stdout to the file results.csv only writes 4096 kbyte blocks. So if i kill this process with kill the last kbytes that the script produce will... (6 Replies)
Discussion started by: Mastaer
6 Replies

11. Programming

Python passing filename through argument

Hello, A python beginner question on passing filename thru argument. My code is: #!/usr/bin/python import sys, getopt import os def main(argv): try: opts, args = getopt.getopt(sys.argv,"hi:o:ce", ) except getopt.GetoptError: usage() print("Usage: %s... (6 Replies)
Discussion started by: yifangt
6 Replies

12. Shell Programming and Scripting

If condition after raw input in python

Hi, I have a python script which is completely interactive. I have almost 10+ raw input statements like below which are collected from user one by one. req_number = raw_input("Please enter request number or Q to Quit: ") if (req_number in ): sys.exit() Is it possible for a more... (6 Replies)
Discussion started by: ctrld
6 Replies

13. Programming

What is wrong with below python inheritance code?

I am using python 3.4. Below is the exception I am getting- Traceback (most recent call last): File "./oop.py", line 20, in <module> y = DerivedClass("Manu") File "./oop.py", line 15, in __init__ super().__init__(self,value) TypeError: __init__() takes 2 positional arguments but... (2 Replies)
Discussion started by: Tanu
2 Replies

14. Programming

Search or find a element inside list python

I have a list as follows: From this i need to grep the element using keyword as "primary" and return output as 12:13-internet-wifi-primary i used as follows if (i <= (len(system_info))): ss = system_info print... (5 Replies)
Discussion started by: Priya Amaresh
5 Replies

15. Programming

creating separate output file for each input file in python

Experts, Need your help for this. Please support My motive is to create seperate output file for each Input Files(File 1 and File2) in another folder say(/tmp/finaloutput) Input files File 1(1.1.1.1.csv) a,b,c 43,17104773,3 45,17104234,4 File 2(2.2.2.2.csv) a,b,c 43,17104773,1... (2 Replies)
Discussion started by: as7951
2 Replies