Change version number to 0.7

This commit is contained in:
Bruno Silvestre 2018-06-27 10:36:26 -03:00
parent fbbaa866c3
commit de63f21f63
17 changed files with 54 additions and 47 deletions

View File

@ -1,7 +1,17 @@
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
LuaSec 0.7alpha LuaSec 0.7
--------------- ---------------
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:
* Add support to OpenSSL 1.1.0
* Add support to elliptic curves list
* Add ssl.config that exports some OpenSSL information
* Add integration with luaossl
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
LuaSec 0.6 LuaSec 0.6
@ -40,7 +50,6 @@ This version includes:
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
LuaSec 0.5 LuaSec 0.5
------------ ------------
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.

View File

@ -1,9 +1,9 @@
LuaSec 0.7alpha LuaSec 0.7
------------ ------------
* OpenSSL options: * OpenSSL options:
By default, LuaSec 0.7alpha includes options for OpenSSL 1.1.0f. By default, LuaSec 0.7 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.7alpha license LuaSec 0.7 license
Copyright (C) 2006-2017 Bruno Silvestre, UFG Copyright (C) 2006-2018 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,14 +1,6 @@
LuaSec 0.7alpha LuaSec 0.7
=============== ===============
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:
* Add compatibility with OpenSSL 1.1.0
* Add 'ssl.config' module
* TBD

View File

@ -1,8 +1,8 @@
package = "LuaSec" package = "LuaSec"
version = "0.7alpha-2" version = "0.7-1"
source = { source = {
url = "https://github.com/brunoos/luasec/archive/luasec-0.7alpha.tar.gz", url = "https://github.com/brunoos/luasec/archive/luasec-0.7.tar.gz",
dir = "luasec-luasec-0.7alpha" dir = "luasec-luasec-0.7"
} }
description = { description = {
summary = "A binding for OpenSSL library to provide TLS/SSL communication over LuaSocket.", summary = "A binding for OpenSSL library to provide TLS/SSL communication over LuaSocket.",

View File

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

View File

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

View File

@ -1,9 +1,9 @@
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.7alpha * LuaSec 0.7
* *
* Copyright (C) 2014-2017 Kim Alvefur, Paul Aurich, Tobias Markmann, * Copyright (C) 2014-2018 Kim Alvefur, Paul Aurich, Tobias Markmann,
* Matthew Wild. * Matthew Wild.
* Copyright (C) 2006-2017 Bruno Silvestre. * Copyright (C) 2006-2018 Bruno Silvestre.
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/

View File

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

View File

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

View File

@ -2,9 +2,9 @@
#define LSEC_OPTIONS_H #define LSEC_OPTIONS_H
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.7alpha * LuaSec 0.7
* *
* Copyright (C) 2006-2017 Bruno Silvestre * Copyright (C) 2006-2018 Bruno Silvestre
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/
@ -13,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.1.0f OpenSSL version: OpenSSL 1.1.0h
*/ */
struct ssl_option_s { struct ssl_option_s {
@ -83,9 +83,15 @@ static ssl_option_t ssl_options[] = {
#if defined(SSL_OP_NO_DTLSv1_2) #if defined(SSL_OP_NO_DTLSv1_2)
{"no_dtlsv1_2", SSL_OP_NO_DTLSv1_2}, {"no_dtlsv1_2", SSL_OP_NO_DTLSv1_2},
#endif #endif
#if defined(SSL_OP_NO_ENCRYPT_THEN_MAC)
{"no_encrypt_then_mac", SSL_OP_NO_ENCRYPT_THEN_MAC},
#endif
#if defined(SSL_OP_NO_QUERY_MTU) #if defined(SSL_OP_NO_QUERY_MTU)
{"no_query_mtu", SSL_OP_NO_QUERY_MTU}, {"no_query_mtu", SSL_OP_NO_QUERY_MTU},
#endif #endif
#if defined(SSL_OP_NO_RENEGOTIATION)
{"no_renegotiation", SSL_OP_NO_RENEGOTIATION},
#endif
#if defined(SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION) #if defined(SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION)
{"no_session_resumption_on_renegotiation", SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION}, {"no_session_resumption_on_renegotiation", SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION},
#endif #endif

View File

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

View File

@ -1,9 +1,9 @@
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.7alpha * LuaSec 0.7
* *
* Copyright (C) 2014-2017 Kim Alvefur, Paul Aurich, Tobias Markmann, * Copyright (C) 2014-2018 Kim Alvefur, Paul Aurich, Tobias Markmann,
* Matthew Wild. * Matthew Wild.
* Copyright (C) 2006-2017 Bruno Silvestre. * Copyright (C) 2006-2018 Bruno Silvestre.
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/
@ -796,7 +796,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.7alpha - Copyright (C) 2006-2017 Bruno Silvestre, UFG" lua_pushstring(L, "LuaSec 0.7 - Copyright (C) 2006-2018 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,9 +2,9 @@
#define LSEC_SSL_H #define LSEC_SSL_H
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.7alpha * LuaSec 0.7
* *
* Copyright (C) 2006-2017 Bruno Silvestre * Copyright (C) 2006-2018 Bruno Silvestre
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/

View File

@ -1,7 +1,7 @@
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
-- LuaSec 0.7alpha -- LuaSec 0.7
-- --
-- Copyright (C) 2006-2017 Bruno Silvestre -- Copyright (C) 2006-2018 Bruno Silvestre
-- --
------------------------------------------------------------------------------ ------------------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.7alpha * LuaSec 0.7
* *
* Copyright (C) 2014-2017 Kim Alvefur, Paul Aurich, Tobias Markmann * Copyright (C) 2014-2018 Kim Alvefur, Paul Aurich, Tobias Markmann
* Matthew Wild, Bruno Silvestre. * Matthew Wild, Bruno Silvestre.
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/

View File

@ -1,7 +1,7 @@
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
* LuaSec 0.7alpha * LuaSec 0.7
* *
* Copyright (C) 2014-2017 Kim Alvefur, Paul Aurich, Tobias Markmann * Copyright (C) 2014-2018 Kim Alvefur, Paul Aurich, Tobias Markmann
* Matthew Wild, Bruno Silvestre. * Matthew Wild, Bruno Silvestre.
* *
*--------------------------------------------------------------------------*/ *--------------------------------------------------------------------------*/