summaryrefslogtreecommitdiffstats
path: root/openssl-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Committer: nangel <nangel@tetrasec.net>nangel2009-05-211-8/+28
| | | | | listcerts function now forks openssl only once. This saves time when number of certs is > 100.
* Change os.rename to fs.move_file.Ted Trask2009-05-151-6/+6
|
* Fixed bug with request extensions. Don't override user input extensions with ↵Ted Trask2009-05-141-18/+9
| | | | default extensions.
* Fixed openssl bug when more than 0xFF certs.ttrask2009-02-061-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1702 ab2d0c66-481e-0410-8bed-d214d4d58bed
* More work to remove unnecessary popen calls.Ted Trask2009-01-261-63/+49
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1696 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added escapespecialcharacters to format.lua to escape shell special ↵Ted Trask2009-01-211-49/+65
| | | | | | characters. Reviewed all calls to io.popen and os.execute to escape special characters. Fixed file uploads in openssl and ipsectools with viewfunctions.lua. Tried to fix openssl renew when subject contains special characters, but not done yet. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1687 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified fs.lua to survive nil parameters. Added create_directory and used ↵Ted Trask2009-01-131-9/+9
| | | | | | within create_file and write_file. Reviewed each read_file call to make sure handles nil return value. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1677 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified openssl to make renew (really rekey) work.Ted Trask2008-11-011-6/+9
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1572 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified modelfunctions library to include validation in get/setfiledetails. ↵Ted Trask2008-10-071-14/+1
| | | | | | Modified all uses to validate the file name - this was a major security hole. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1542 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified format library. parse_configfile2, update_configfile2, ↵Ted Trask2008-10-031-23/+23
| | | | | | get_section, and set_section became parse_ini_file, update_ini_file, get_ini_section, and set_ini_section. Updated all code that used these functions. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1539 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed getopts library and added functionality to format library as ↵Ted Trask2008-09-291-27/+26
| | | | | | opts_to_table, table_to_opts, parse_configfile2, update_configfile2, get_section, and set_section. New functions work on strings, not files. Modified all code using getopts to use format instead. Fixed nil string bugs in TCPProxy. Fixed forward only bug in DNSCache. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1535 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed openssl bug with blank extensions. Modified commonName hash to use ↵Ted Trask2008-08-051-7/+25
| | | | | | hex values. Changed download filename to be commonName. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1372 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Add cert extensions to the request just for clarity.Ted Trask2008-07-161-4/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1312 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Openssl removed the subjectAltName and instead added in an extensions ↵Ted Trask2008-07-161-24/+66
| | | | | | section to manually add x509 extensions. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1311 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Another attempt at openssl subjectAltNameTed Trask2008-07-161-1/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1309 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added openssl support for subjectAltName as an environment variable loaded ↵Ted Trask2008-07-161-42/+52
| | | | | | in the config file. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1308 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed openssl character escapes.Ted Trask2008-07-151-4/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1306 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modify openssl to allow all characters except # in distinguished names.Ted Trask2008-07-151-4/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1305 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified openssl to work with new cnf file. Distinguished names are no ↵Ted Trask2008-07-111-40/+46
| | | | | | longer hard coded, but entirely based upon cnf file. Modified views to display password and certtype at end. Update to getopts fixes bug where setting defaults truncated the cnf file. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1295 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Update openssl to use controllerfunctions and modelfunctions.Ted Trask2008-07-071-67/+71
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1287 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed openssl config file name and fixed environment check.Ted Trask2008-06-241-17/+29
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1256 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed download bug for logfiles and certificates.Ted Trask2008-06-091-10/+47
| | | | | | Several changes to openssl: Removed renew cert and download revoked cert from view, do not allow bad chars and handle blank entries in subject, changed file names to use hash of Common Name allowing use of more chars, check CA cert for expiration, and add CA certs to pfx. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1213 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Moved openssl clientdata processing from model to controller.Ted Trask2008-06-061-59/+47
| | | | | | | Fixed some bugs with checkenvironment. Fixed date parsing git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1209 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Check to see if necessary openssl directories exist, add support to create themTed Trask2008-05-281-3/+152
| | | | | | | And enddate and daysremaining to list of certificates Add ability to renew a certificate git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1188 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified acf to allow file upload (arbitrary 32k limit).Ted Trask2008-05-271-52/+171
| | | | | | Cleaned up openssl and added ability to upload/generate CA certificate. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1184 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Mod openssl to restrict users to only see and delete their own requests.Ted Trask2008-05-231-7/+20
| | | | | | Moved apk to apk-tools. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1179 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added revoking support to opensslTed Trask2008-05-221-2/+42
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1178 ab2d0c66-481e-0410-8bed-d214d4d58bed
* openssl is now pretty much done except for revoking certificates.Ted Trask2008-05-221-29/+102
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1176 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Further progress on openssl. Added template_stream to core for downloading ↵Ted Trask2008-05-211-1/+109
| | | | | | files. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1171 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Continuing to work on openssl. Not done yet.Ted Trask2008-05-201-14/+218
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1127 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Saving incomplete openssl pagesTed Trask2008-05-161-0/+36
git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1124 ab2d0c66-481e-0410-8bed-d214d4d58bed