/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-keygen

  • Committer: Teddy Hogeborn
  • Date: 2013-10-13 17:05:59 UTC
  • mto: This revision was merged to the branch mainline in revision 625.
  • Revision ID: teddy@recompile.se-20131013170559-44x665vs0pl3n8sf
Tags: version-1.6.1-1
* Makefile (version): Changed to "1.6.1".
* NEWS (Version 1.6.1): New entry.
* debian/changelog (1.6.1-1): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
3
3
# Mandos key generator - create a new OpenPGP key for a Mandos client
4
4
5
 
# Copyright © 2008-2013 Teddy Hogeborn
6
 
# Copyright © 2008-2013 Björn Påhlsson
 
5
# Copyright © 2008-2012 Teddy Hogeborn
 
6
# Copyright © 2008-2012 Björn Påhlsson
7
7
8
8
# This program is free software: you can redistribute it and/or modify
9
9
# it under the terms of the GNU General Public License as published by
64
64
  -l BITS, --length BITS
65
65
                        Key length in bits.  Default is 4096.
66
66
  -s TYPE, --subtype TYPE
67
 
                        Subkey type.  Default is RSA.
 
67
                        Subkey type.  Default is ELG-E.
68
68
  -L BITS, --sublength BITS
69
69
                        Subkey length in bits.  Default is 4096.
70
70
  -n NAME, --name NAME  Name of key.  Default is the FQDN.
204
204
    cat >"$BATCHFILE" <<-EOF
205
205
        Key-Type: $KEYTYPE
206
206
        Key-Length: $KEYLENGTH
207
 
        Key-Usage: sign,auth
 
207
        #Key-Usage: encrypt,sign,auth
208
208
        Subkey-Type: $SUBKEYTYPE
209
209
        Subkey-Length: $SUBKEYLENGTH
210
 
        Subkey-Usage: encrypt
 
210
        #Subkey-Usage: encrypt,sign,auth
211
211
        Name-Real: $KEYNAME
212
212
        $KEYCOMMENTLINE
213
213
        $KEYEMAILLINE