mirror of
https://github.com/brunoos/luasec.git
synced 2024-11-07 22:18:27 +01:00
Version number to 0.7alpha
This commit is contained in:
parent
8762441cd2
commit
0d01b53461
@ -1,3 +1,8 @@
|
||||
--------------------------------------------------------------------------------
|
||||
LuaSec 0.7alpha
|
||||
---------------
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
LuaSec 0.6
|
||||
------------
|
||||
|
4
INSTALL
4
INSTALL
@ -1,9 +1,9 @@
|
||||
LuaSec 0.6
|
||||
LuaSec 0.7alpha
|
||||
------------
|
||||
|
||||
* OpenSSL options:
|
||||
|
||||
By default, LuaSec 0.6 includes options for OpenSSL 1.0.2f.
|
||||
By default, LuaSec 0.7alpha includes options for OpenSSL 1.1.0f.
|
||||
|
||||
If you need to generate the options for a different version of OpenSSL:
|
||||
|
||||
|
4
LICENSE
4
LICENSE
@ -1,5 +1,5 @@
|
||||
LuaSec 0.6 license
|
||||
Copyright (C) 2006-2015 Bruno Silvestre, UFG
|
||||
LuaSec 0.7alpha license
|
||||
Copyright (C) 2006-2017 Bruno Silvestre, UFG
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
|
34
README.md
34
README.md
@ -1,36 +1,14 @@
|
||||
LuaSec 0.6
|
||||
==========
|
||||
LuaSec 0.7alpha
|
||||
===============
|
||||
LuaSec depends on OpenSSL, and integrates with LuaSocket to make it
|
||||
easy to add secure connections to any Lua applications or scripts.
|
||||
|
||||
Documentation: https://github.com/brunoos/luasec/wiki
|
||||
|
||||
This version includes:
|
||||
This version:
|
||||
|
||||
* Lua 5.2 and 5.3 compatibility
|
||||
* Add compatibility with OpenSSL 1.1.0
|
||||
|
||||
* Context module:
|
||||
- Add ctx:checkkey()
|
||||
* Add 'ssl.config' module
|
||||
|
||||
* SSL module:
|
||||
- Add conn:sni() and conn:getsniname()
|
||||
|
||||
* Context options:
|
||||
- Add "any" protocol ("sslv23" is deprecated)
|
||||
|
||||
* HTTPS module:
|
||||
- Using "any" protocol without SSLv2/SSLv3, by default
|
||||
|
||||
* X509 module:
|
||||
- Human readable IP address
|
||||
- Add cert:issued()
|
||||
- Add cert:pubkey()
|
||||
|
||||
* Some bug fixes
|
||||
|
||||
|
||||
********************************************************************************
|
||||
|
||||
PS: 10th anniversary! Thanks to everyone who collaborate with LuaSec.
|
||||
|
||||
********************************************************************************
|
||||
* TBD
|
||||
|
@ -1,6 +1,7 @@
|
||||
/*--------------------------------------------------------------------------
|
||||
* LuaSec 0.6
|
||||
* Copyright (C) 2006-2016 Bruno Silvestre
|
||||
* LuaSec 0.7alpha
|
||||
*
|
||||
* Copyright (C) 2006-2017 Bruno Silvestre
|
||||
*
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*--------------------------------------------------------------------------
|
||||
* LuaSec 0.6
|
||||
* LuaSec 0.7alpha
|
||||
*
|
||||
* Copyright (C) 2006-2017 Bruno Silvestre.
|
||||
*
|
||||
|
@ -1,9 +1,9 @@
|
||||
/*--------------------------------------------------------------------------
|
||||
* LuaSec 0.6
|
||||
* LuaSec 0.7alpha
|
||||
*
|
||||
* Copyright (C) 2014-2016 Kim Alvefur, Paul Aurich, Tobias Markmann,
|
||||
* Copyright (C) 2014-2017 Kim Alvefur, Paul Aurich, Tobias Markmann,
|
||||
* Matthew Wild.
|
||||
* Copyright (C) 2006-2016 Bruno Silvestre.
|
||||
* Copyright (C) 2006-2017 Bruno Silvestre.
|
||||
*
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -2,8 +2,9 @@
|
||||
#define LSEC_CONTEXT_H
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* LuaSec 0.6
|
||||
* Copyright (C) 2006-2016 Bruno Silvestre
|
||||
* LuaSec 0.7
|
||||
*
|
||||
* Copyright (C) 2006-2017 Bruno Silvestre
|
||||
*
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
|
5
src/ec.h
5
src/ec.h
@ -1,6 +1,7 @@
|
||||
/*--------------------------------------------------------------------------
|
||||
* LuaSec 0.6
|
||||
* Copyright (C) 2006-2016 Bruno Silvestre
|
||||
* LuaSec 0.7alpha
|
||||
*
|
||||
* Copyright (C) 2006-2017 Bruno Silvestre
|
||||
*
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
----------------------------------------------------------------------------
|
||||
-- LuaSec 0.6
|
||||
-- Copyright (C) 2009-2016 PUC-Rio
|
||||
-- LuaSec 0.7alpha
|
||||
-- Copyright (C) 2009-2017 PUC-Rio
|
||||
--
|
||||
-- Author: Pablo Musa
|
||||
-- Author: Tomas Guisasola
|
||||
@ -18,8 +18,8 @@ local try = socket.try
|
||||
-- Module
|
||||
--
|
||||
local _M = {
|
||||
_VERSION = "0.6",
|
||||
_COPYRIGHT = "LuaSec 0.6 - Copyright (C) 2009-2016 PUC-Rio",
|
||||
_VERSION = "0.7",
|
||||
_COPYRIGHT = "LuaSec 0.7alpha - Copyright (C) 2009-2017 PUC-Rio",
|
||||
PORT = 443,
|
||||
}
|
||||
|
||||
|
@ -2,8 +2,9 @@
|
||||
#define LSEC_OPTIONS_H
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* LuaSec 0.6
|
||||
* Copyright (C) 2006-2016 Bruno Silvestre
|
||||
* LuaSec 0.7alpha
|
||||
*
|
||||
* Copyright (C) 2006-2017 Bruno Silvestre
|
||||
*
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
@ -12,7 +13,7 @@
|
||||
/* If you need to generate these options again, see options.lua */
|
||||
|
||||
/*
|
||||
OpenSSL version: OpenSSL 1.0.2f
|
||||
OpenSSL version: OpenSSL 1.1.0f
|
||||
*/
|
||||
|
||||
struct ssl_option_s {
|
||||
@ -73,6 +74,9 @@ static ssl_option_t ssl_options[] = {
|
||||
#if defined(SSL_OP_NO_COMPRESSION)
|
||||
{"no_compression", SSL_OP_NO_COMPRESSION},
|
||||
#endif
|
||||
#if defined(SSL_OP_NO_DTLS_MASK)
|
||||
{"no_dtls_mask", SSL_OP_NO_DTLS_MASK},
|
||||
#endif
|
||||
#if defined(SSL_OP_NO_DTLSv1)
|
||||
{"no_dtlsv1", SSL_OP_NO_DTLSv1},
|
||||
#endif
|
||||
|
@ -21,8 +21,9 @@ local function generate(options, version)
|
||||
#define LSEC_OPTIONS_H
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* LuaSec 0.6
|
||||
* Copyright (C) 2006-2016 Bruno Silvestre
|
||||
* LuaSec 0.7alpha
|
||||
*
|
||||
* Copyright (C) 2006-2017 Bruno Silvestre
|
||||
*
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
/*--------------------------------------------------------------------------
|
||||
* LuaSec 0.6
|
||||
* LuaSec 0.7alpha
|
||||
*
|
||||
* Copyright (C) 2014-2016 Kim Alvefur, Paul Aurich, Tobias Markmann,
|
||||
* Copyright (C) 2014-2017 Kim Alvefur, Paul Aurich, Tobias Markmann,
|
||||
* Matthew Wild.
|
||||
* Copyright (C) 2006-2016 Bruno Silvestre.
|
||||
* Copyright (C) 2006-2017 Bruno Silvestre.
|
||||
*
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
@ -761,7 +761,7 @@ static int meth_getsniname(lua_State *L)
|
||||
|
||||
static int meth_copyright(lua_State *L)
|
||||
{
|
||||
lua_pushstring(L, "LuaSec 0.6 - Copyright (C) 2006-2016 Bruno Silvestre, UFG"
|
||||
lua_pushstring(L, "LuaSec 0.7alpha - Copyright (C) 2006-2017 Bruno Silvestre, UFG"
|
||||
#if defined(WITH_LUASOCKET)
|
||||
"\nLuaSocket 3.0-RC1 - Copyright (C) 2004-2013 Diego Nehab"
|
||||
#endif
|
||||
|
@ -2,8 +2,9 @@
|
||||
#define LSEC_SSL_H
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* LuaSec 0.6
|
||||
* Copyright (C) 2006-2016 Bruno Silvestre
|
||||
* LuaSec 0.7alpha
|
||||
*
|
||||
* Copyright (C) 2006-2017 Bruno Silvestre
|
||||
*
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
------------------------------------------------------------------------------
|
||||
-- LuaSec 0.6
|
||||
-- Copyright (C) 2006-2016 Bruno Silvestre
|
||||
-- LuaSec 0.7alpha
|
||||
--
|
||||
-- Copyright (C) 2006-2017 Bruno Silvestre
|
||||
--
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
@ -178,7 +179,7 @@ core.setmethod("info", info)
|
||||
--
|
||||
|
||||
local _M = {
|
||||
_VERSION = "0.6",
|
||||
_VERSION = "0.7",
|
||||
_COPYRIGHT = core.copyright(),
|
||||
loadcertificate = x509.load,
|
||||
newcontext = newcontext,
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*--------------------------------------------------------------------------
|
||||
* LuaSec 0.6
|
||||
* LuaSec 0.7alpha
|
||||
*
|
||||
* Copyright (C) 2014-2016 Kim Alvefur, Paul Aurich, Tobias Markmann
|
||||
* Copyright (C) 2014-2017 Kim Alvefur, Paul Aurich, Tobias Markmann
|
||||
* Matthew Wild, Bruno Silvestre.
|
||||
*
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*--------------------------------------------------------------------------
|
||||
* LuaSec 0.6
|
||||
* LuaSec 0.7alpha
|
||||
*
|
||||
* Copyright (C) 2014-2016 Kim Alvefur, Paul Aurich, Tobias Markmann
|
||||
* Copyright (C) 2014-2017 Kim Alvefur, Paul Aurich, Tobias Markmann
|
||||
* Matthew Wild, Bruno Silvestre.
|
||||
*
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
Loading…
Reference in New Issue
Block a user