Version number to 0.7alpha

This commit is contained in:
Bruno Silvestre 2017-09-26 18:22:49 -03:00
parent 8762441cd2
commit 0d01b53461
17 changed files with 57 additions and 64 deletions

View File

@ -1,3 +1,8 @@
--------------------------------------------------------------------------------
LuaSec 0.7alpha
---------------
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
LuaSec 0.6 LuaSec 0.6
------------ ------------

View File

@ -1,9 +1,9 @@
LuaSec 0.6 LuaSec 0.7alpha
------------ ------------
* OpenSSL options: * 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: If you need to generate the options for a different version of OpenSSL:

View File

@ -1,5 +1,5 @@
LuaSec 0.6 license LuaSec 0.7alpha license
Copyright (C) 2006-2015 Bruno Silvestre, UFG Copyright (C) 2006-2017 Bruno Silvestre, UFG
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the

View File

@ -1,36 +1,14 @@
LuaSec 0.6 LuaSec 0.7alpha
========== ===============
LuaSec depends on OpenSSL, and integrates with LuaSocket to make it LuaSec depends on OpenSSL, and integrates with LuaSocket to make it
easy to add secure connections to any Lua applications or scripts. easy to add secure connections to any Lua applications or scripts.
Documentation: https://github.com/brunoos/luasec/wiki 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 'ssl.config' module
- Add ctx:checkkey()
* SSL module: * TBD
- 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.
********************************************************************************

View File

@ -1,6 +1,7 @@
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.6 * LuaSec 0.7alpha
* Copyright (C) 2006-2016 Bruno Silvestre *
* Copyright (C) 2006-2017 Bruno Silvestre
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/

View File

@ -1,5 +1,5 @@
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.6 * LuaSec 0.7alpha
* *
* Copyright (C) 2006-2017 Bruno Silvestre. * Copyright (C) 2006-2017 Bruno Silvestre.
* *

View File

@ -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. * Matthew Wild.
* Copyright (C) 2006-2016 Bruno Silvestre. * Copyright (C) 2006-2017 Bruno Silvestre.
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/

View File

@ -2,8 +2,9 @@
#define LSEC_CONTEXT_H #define LSEC_CONTEXT_H
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.6 * LuaSec 0.7
* Copyright (C) 2006-2016 Bruno Silvestre *
* Copyright (C) 2006-2017 Bruno Silvestre
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/

View File

@ -1,6 +1,7 @@
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.6 * LuaSec 0.7alpha
* Copyright (C) 2006-2016 Bruno Silvestre *
* Copyright (C) 2006-2017 Bruno Silvestre
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/

View File

@ -1,6 +1,6 @@
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
-- LuaSec 0.6 -- LuaSec 0.7alpha
-- Copyright (C) 2009-2016 PUC-Rio -- Copyright (C) 2009-2017 PUC-Rio
-- --
-- Author: Pablo Musa -- Author: Pablo Musa
-- Author: Tomas Guisasola -- Author: Tomas Guisasola
@ -18,8 +18,8 @@ local try = socket.try
-- Module -- Module
-- --
local _M = { local _M = {
_VERSION = "0.6", _VERSION = "0.7",
_COPYRIGHT = "LuaSec 0.6 - Copyright (C) 2009-2016 PUC-Rio", _COPYRIGHT = "LuaSec 0.7alpha - Copyright (C) 2009-2017 PUC-Rio",
PORT = 443, PORT = 443,
} }

View File

@ -2,8 +2,9 @@
#define LSEC_OPTIONS_H #define LSEC_OPTIONS_H
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.6 * LuaSec 0.7alpha
* Copyright (C) 2006-2016 Bruno Silvestre *
* Copyright (C) 2006-2017 Bruno Silvestre
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/
@ -12,7 +13,7 @@
/* If you need to generate these options again, see options.lua */ /* 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 { struct ssl_option_s {
@ -73,6 +74,9 @@ static ssl_option_t ssl_options[] = {
#if defined(SSL_OP_NO_COMPRESSION) #if defined(SSL_OP_NO_COMPRESSION)
{"no_compression", SSL_OP_NO_COMPRESSION}, {"no_compression", SSL_OP_NO_COMPRESSION},
#endif #endif
#if defined(SSL_OP_NO_DTLS_MASK)
{"no_dtls_mask", SSL_OP_NO_DTLS_MASK},
#endif
#if defined(SSL_OP_NO_DTLSv1) #if defined(SSL_OP_NO_DTLSv1)
{"no_dtlsv1", SSL_OP_NO_DTLSv1}, {"no_dtlsv1", SSL_OP_NO_DTLSv1},
#endif #endif

View File

@ -21,8 +21,9 @@ local function generate(options, version)
#define LSEC_OPTIONS_H #define LSEC_OPTIONS_H
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.6 * LuaSec 0.7alpha
* Copyright (C) 2006-2016 Bruno Silvestre *
* Copyright (C) 2006-2017 Bruno Silvestre
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/

View File

@ -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. * 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) 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) #if defined(WITH_LUASOCKET)
"\nLuaSocket 3.0-RC1 - Copyright (C) 2004-2013 Diego Nehab" "\nLuaSocket 3.0-RC1 - Copyright (C) 2004-2013 Diego Nehab"
#endif #endif

View File

@ -2,8 +2,9 @@
#define LSEC_SSL_H #define LSEC_SSL_H
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.6 * LuaSec 0.7alpha
* Copyright (C) 2006-2016 Bruno Silvestre *
* Copyright (C) 2006-2017 Bruno Silvestre
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/

View File

@ -1,6 +1,7 @@
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
-- LuaSec 0.6 -- LuaSec 0.7alpha
-- Copyright (C) 2006-2016 Bruno Silvestre --
-- Copyright (C) 2006-2017 Bruno Silvestre
-- --
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
@ -178,7 +179,7 @@ core.setmethod("info", info)
-- --
local _M = { local _M = {
_VERSION = "0.6", _VERSION = "0.7",
_COPYRIGHT = core.copyright(), _COPYRIGHT = core.copyright(),
loadcertificate = x509.load, loadcertificate = x509.load,
newcontext = newcontext, newcontext = newcontext,

View File

@ -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. * Matthew Wild, Bruno Silvestre.
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/

View File

@ -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. * Matthew Wild, Bruno Silvestre.
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/