Pavel Roskin
35d7a0b34f
Constify all input string arguments in keygen.c
8 years ago
Pavel Roskin
250bb61025
Check for openssl binary in configure, don't fail if not found
...
Prefer openssl binary from the same location as the openssl library.
Make it possible to suppress certificate generation during install by
passing OPENSSL=: to make.
8 years ago
speidy
337b2d4be3
keygen: openssl.conf cleanup
8 years ago
speidy
2c48dd04e1
keygen: add CA extensions to self-signed certificates
8 years ago
Pavel Roskin
401612fd1d
Fix "unable to find 'distinguished_name' in config" with older openssl
...
This also fixes "make distcheck", which expects "make uninstall" to
remove all installed files.
8 years ago
Koichiro IWAO
7196094016
Do not create SHA-1 certificates anymore
...
as many systems in the world still default to create SHA-1 certs if
hash algorithm is not specified explicitly.
8 years ago
Jay Sorg
4f33a9db1d
change xrdp.ini security_layer=negotiate and auto generate tls keys on make install
8 years ago
Jay Sorg
e39f567c35
on make install, don't create rsakeys.ini if it already exists
8 years ago
Pavel Roskin
aeeb3d2c2e
Fix warnings detected by -Wwrite-strings
8 years ago
Pavel Roskin
bd0b1acf79
Fix format warnings caused by g_writeln("")
9 years ago
Jay Sorg
5af0d06d1e
keygen: default 2048 bit RSA key
9 years ago
Pavel Roskin
b63575cebc
Create and install rsakeys.ini
...
Use install-data-hook to ensure restrictive permissions on rsakeys.ini.
Don't create rsakeys.ini in init scripts. This makes xrdp functional upon
"make install" without relying on the init scripts.
Packagers should not package rsakeys.ini, it should be created when the
package is installed.
9 years ago
Pavel Roskin
a452d8d36a
Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGS
...
AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and
includes. AM_CFLAGS is for flags affecting the compiler, such as debug
and optimization settings.
INCLUDES is an obsolete name. Users can pass INCLUDES and break
compilation. AM_CPPFLAGS is more explicit that the flags come from
Automake and should not be overridden.
9 years ago
Laxmikant Rashinkar
0915d33d70
coverity: dead code
10 years ago
Laxmikant Rashinkar
3bb31876e7
coverity: fixed resolution leak issues
10 years ago
Jay Sorg
bd810c0695
support 2048 bit RSA keys
11 years ago
Jay Sorg
293c404a12
keygen: add 2048 bit key option
11 years ago
Jay Sorg
96e1811808
keygen: started adding bits for bigger rsa key size
11 years ago
Laxmikant Rashinkar
1123323fda
o moved from GNU General Public License to Apache License, Version 2.0
...
o applied new coding standards to all .c files
o moved some files around
12 years ago
Jay Sorg
58f5dcc030
autotools: change top_srcdir to top_builddir for LIBADD
13 years ago
Itamar Reis Peixoto
c1d27665df
remove execute permission from keygen.c
14 years ago
jsorg71
d70d80a33d
update copyright year
15 years ago
jsorg71
23ffdb0c5f
autotools fix and file_loc.h simplified
16 years ago
jsorg71
af83cb7cae
remove old makefiles
16 years ago
jsorg71
fa30584146
common change
17 years ago
jsorg71
adb5e12044
add autotools
17 years ago
jsorg71
1c3e74606a
work on keygen to install and run on install
17 years ago
jsorg71
cc464bbd04
added comments and changed executable name to xrdp-keygen
17 years ago
jsorg71
c4038f3834
changed unsigned char to tui8 changed a print messsage
17 years ago
jsorg71
38b789e81f
update copyright year
17 years ago
jsorg71
bc9462fefe
moved ssl calls to common
18 years ago
jsorg71
48153b6244
completed sign key and some cleanups
18 years ago
jsorg71
48f09546a7
added test function
18 years ago
jsorg71
5f4dacbaad
added ppk
18 years ago
jsorg71
32cee722e1
reverse the big number bytes
18 years ago
jsorg71
a6d3edf2a2
completed save function
18 years ago
jsorg71
a5fd28f4f5
added dumby sign and save function
18 years ago
jsorg71
023a32252d
warnings
18 years ago
jsorg71
ddba72271f
added keygen utility
18 years ago