2 * Copyright (C) Ilari Liusvaara 2009-2010
4 * This code is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
12 void write_cert(int server_mode
);
16 printf("gits-generate-keypair: User keypair generator.\n");
17 printf("Command line options:\n");
19 printf("\tThis help\n");
21 printf("Note: Keep generated keypair files private!\n");
22 printf("Use gits-get-key-name to get public short\n");
23 printf("representation of keypair for authorization.\n");
25 printf("WARNING: Don't let keypairs to be tampered with!\n");
26 printf("WARNING: Tampered keypairs may do very nasty things\n");
27 printf("WARNING: if used.\n");
32 int main(int argc
, char **argv
)
34 if (argc
> 1 && !strcmp(argv
[1], "--help"))