ldns-keygen(1) General Commands Manual ldns-keygen(1)NAME
ldns-keygen - generate a DNSSEC key pair
SYNOPSIS
ldns-keygen [ OPTION ] DOMAIN
DESCRIPTION
ldns-keygen is used to generate a private/public keypair. When run, it will create 3 files; a .key file with the public DNSKEY, a .private
file with the private keydata and a .ds with the DS record of the DNSKEY record.
ldns-keygen can also be used to create symmetric keys (for TSIG) by selecting the appropriate algorithm: hmac-md5.sig-alg.reg.int,
hmac-sha1 or hmac-sha256. In that case no DS record will be created and no .ds file.
ldns-keygen prints the basename for the key files: K<name>+<alg>+<id>
OPTIONS -a <algorithm>
Create a key with this algorithm. Specifying 'list' here gives a list of supported algorithms. Several alias names are also
accepted (from older versions and other software), the list gives names from the RFC. Also the plain algo number is accepted.
-b <bits>
Use this many bits for the key length.
-k When given, generate a key signing key. This just sets the flag field to 257 instead of 256 in the DNSKEY RR in the .key file.
-r device
Make ldns-keygen use this file to seed the random generator with. This will default to /dev/random.
-v Show the version and exit
AUTHOR
Written by the ldns team as an example for ldns usage.
REPORTING BUGS
Report bugs to <ldns-team@nlnetlabs.nl>.
COPYRIGHT
Copyright (C) 2005-2008 NLnet Labs. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
27 May 2008 ldns-keygen(1)
Check Out this Related Man Page
ldns(3) Library Functions Manual ldns(3)NAME
ldns_key_rsa_key, ldns_key_dsa_key, ldns_key_algorithm, ldns_key_hmac_key-
SYNOPSIS
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
RSA* ldns_key_rsa_key(const ldns_key *k);
DSA* ldns_key_dsa_key(const ldns_key *k);
ldns_signing_algorithm ldns_key_algorithm(const ldns_key *k);
unsigned char* ldns_key_hmac_key(const ldns_key *k);
DESCRIPTION
ldns_key_rsa_key() returns the (openssl) RSA struct contained in the key
k: the key to look in
Returns the RSA * structure in the key
ldns_key_dsa_key() returns the (openssl) DSA struct contained in the key
ldns_key_algorithm() return the signing alg of the key
k: the key
Returns the algorithm
ldns_key_hmac_key() return the hmac key data
k: the key
Returns the hmac key data
AUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.
REPORTING BUGS
Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html
COPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
ldns_key_list, ldns_key. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
REMARKS
This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl.
30 May 2006 ldns(3)
Dear Masters,
Is there an easy way to generate a random list from a give list of names? Let's say, I have a file containing 15000 city name of world(spreadsheet, names in the first column), I would like to randomly pick up 50 cities each time for total 1000 picks. Or doesn't anyone know a... (3 Replies)
Hi all,
I have wriiten an expect script that genearates a public private key pair through ssh-keygen and then copies that key to the authorized keys file of the remote system . The problem i am facing is when i get a password for the remote machine containg a trailing backslash , the send command... (4 Replies)
Hi,
please guide me create a public/private key using ssh-keygen, lets say I have been access to server named pngpcdb1with a userid and password ...!!! and also please explain in detail the concept of these keys and ssh as I was planning to use them in ftp related scripts..! Thanks in... (1 Reply)
Hi ,
I am trying to create public key on my AIX server on other than home directory.However the command does not ask for
Enter file in which to save the key :
It is directly taking me to Enter the passphrase.
I don't want to save the key in home dir as that is the home dir for other userID... (6 Replies)
Hi guys,
Anyone encountered the following error.
1.) all keys and passphrases worked on aix 7.1.2
2.) upgraded to aix 7.1.3sp5
3.) none of the keys / passphrases work anymore.
4.) when generating new keys without passphrase everything is ok.
5.) when generating keys with passphrase and... (16 Replies)
Hi,
i generate private and public key using below command.
ssh-keygen -t rsa
can you please share command for encryption and decryption file using above generated keys.
Regards, (4 Replies)
For some reason, when I try copying my public key to the server, despite it showing as being successful:
rob@linux044:~$ ssh-copy-id -i /home/rob/Work/Keys/keys.txt.pub !@#$%.com
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/rob/Work/Keys/keys.txt.pub"... (7 Replies)