summaryrefslogtreecommitdiffstats
path: root/openssl-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Added managesubca action to automatically configure the environment to ↵Ted Trask2015-02-031-0/+51
| | | | manage a sub-CA
* Added getcachain action to show the parent CAs when we are in a child, ↵Ted Trask2015-02-021-3/+63
| | | | | | modified all views to display it This includes adding a generic HTML view to display cadir and then display the cfe
* Change basedir to cadir and restrict to within /etc/ssl/Ted Trask2015-02-021-44/+48
|
* Some bugfixes to make basedir workTed Trask2015-02-021-3/+3
|
* Fix null reference exception in requestTed Trask2015-02-021-2/+2
|
* Change all actions to include a basedir action as a first stop for ↵Ted Trask2015-01-311-127/+144
| | | | supporting multiple CAs
* Update model.submitrequest and .deleterequest to new prototypeTed Trask2015-01-311-2/+2
|
* Updated the three download/stream actions to properly handle clientdata in ↵Ted Trask2015-01-311-32/+59
| | | | | | the model Relies on acf-core-0.19 update to template-stream.html
* Modify several functions to move logic into the model and use cfes more ↵Ted Trask2015-01-311-75/+99
| | | | properly for non-forms
* Cleanup of path access in preparation for handling CAs in different pathsTed Trask2015-01-301-40/+39
|
* Changes to use new htmlviewfunctions functionsTed Trask2014-04-121-5/+5
|
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-201-40/+42
| | | | | Use mymodule parameter for module definition. This was also helpful in revealing places where the code relied on the global environment.
* Change use of require to work with Lua 5.2Ted Trask2013-10-091-2/+2
|
* Replace io.popen with modelfunctions.run_executableTed Trask2013-01-011-70/+25
|
* Removed unneeded views by updating CFE for autoviewTed Trask2012-10-281-8/+14
|
* Removed calls to redirect_to_referrerTed Trask2012-08-201-52/+101
|
* Updated for handle_form now passing self to get and set functionsTed Trask2012-04-281-5/+5
|
* Started work on updating for acf-core-0.15Ted Trask2012-04-181-4/+4
| | | | | Removed controllerfunctions library (still needs more work and corresponding work in model) Updated for viewfunctions to htmlviewfunctions and modified require statements for acf libraries
* Change certype to certtypeTed Trask2011-10-071-3/+3
|
* Fix direct import of crl, and allowed direct import of CA into FirefoxTed Trask2011-10-071-7/+12
|
* Make getca always return ca, regardless of inputTed Trask2011-10-071-10/+9
|
* Updates to Feature #354 incl. security hole fixed and choice of PEM or DER ↵Luke Stuart2011-10-071-6/+13
| | | | cacert download.
* Added package name so install worksTed Trask2011-09-201-1/+1
|
* acf-openssl: as per feature request #354: download cert plus set encryption ↵Luke Stuart2011-07-061-4/+28
| | | | bits and period of validity
* fix permissions on ssl cert creationskel2011-06-091-0/+5
|
* basename/dirname functions are no longer in acf-core-0.9.0Ted Trask2009-12-281-8/+9
|
* 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