From 26e158addf18ff61b99dc70a407b22682e6a421d Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 31 Jul 2016 12:01:00 -0400 Subject: Update license headers and copyrights on all source files --- modules/encryption/bcrypt.cpp | 22 +++++++++++++++++----- modules/encryption/md5.cpp | 24 ++++++++++++++++++------ modules/encryption/none.cpp | 20 +++++++++++++++----- modules/encryption/old.cpp | 20 ++++++++++++++------ modules/encryption/sha1.cpp | 19 +++++++++++++++++++ modules/encryption/sha256.cpp | 24 +++++++++++++----------- 6 files changed, 96 insertions(+), 33 deletions(-) (limited to 'modules/encryption') diff --git a/modules/encryption/bcrypt.cpp b/modules/encryption/bcrypt.cpp index ed003f883..622fef745 100644 --- a/modules/encryption/bcrypt.cpp +++ b/modules/encryption/bcrypt.cpp @@ -1,11 +1,23 @@ -/* Module for providing bcrypt hashing +/* + * Anope IRC Services + * + * Copyright (C) 2014-2016 Anope Team * - * (C) 2003-2014 Anope Team - * Contact us at team@anope.org + * This file is part of Anope. Anope is free software; you can + * redistribute it and/or modify it under the terms of the GNU + * General Public License as published by the Free Software + * Foundation, version 2. * - * This program is free but copyrighted software; see the file COPYING for - * details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see see . + */ + +/* * Most of the code in this file is taken from * http://openwall.com/crypt/crypt_blowfish-1.2.tar.gz */ diff --git a/modules/encryption/md5.cpp b/modules/encryption/md5.cpp index 0bf3942ec..ca3bfcc9a 100644 --- a/modules/encryption/md5.cpp +++ b/modules/encryption/md5.cpp @@ -1,14 +1,26 @@ -/* Module for encryption using MD5. +/* + * Anope IRC Services * - * Modified for Anope. - * (C) 2003-2014 Anope Team - * Contact us at team@anope.org + * Copyright (C) 2006-2016 Anope Team * + * This file is part of Anope. Anope is free software; you can + * redistribute it and/or modify it under the terms of the GNU + * General Public License as published by the Free Software + * Foundation, version 2. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see see . + */ + +/* * Taken from IRC Services and is copyright (c) 1996-2002 Andrew Church. * E-mail: * Parts written by Andrew Kempe and others. - * This program is free but copyrighted software; see the file COPYING for - * details. */ #include "module.h" diff --git a/modules/encryption/none.cpp b/modules/encryption/none.cpp index c51bcb9ae..317abb132 100644 --- a/modules/encryption/none.cpp +++ b/modules/encryption/none.cpp @@ -1,10 +1,20 @@ -/* Module for plain text encryption. +/* + * Anope IRC Services * - * (C) 2003-2014 Anope Team - * Contact us at team@anope.org + * Copyright (C) 2006-2016 Anope Team * - * This program is free but copyrighted software; see the file COPYING for - * details. + * This file is part of Anope. Anope is free software; you can + * redistribute it and/or modify it under the terms of the GNU + * General Public License as published by the Free Software + * Foundation, version 2. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see see . */ #include "module.h" diff --git a/modules/encryption/old.cpp b/modules/encryption/old.cpp index fc4598887..bfe7131bc 100644 --- a/modules/encryption/old.cpp +++ b/modules/encryption/old.cpp @@ -1,12 +1,20 @@ -/* Include file for high-level encryption routines. +/* + * Anope IRC Services * - * (C) 2003-2014 Anope Team - * Contact us at team@anope.org + * Copyright (C) 2003-2016 Anope Team * - * Please read COPYING and README for further details. + * This file is part of Anope. Anope is free software; you can + * redistribute it and/or modify it under the terms of the GNU + * General Public License as published by the Free Software + * Foundation, version 2. * - * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see see . */ #include "module.h" diff --git a/modules/encryption/sha1.cpp b/modules/encryption/sha1.cpp index 85fc9a5f2..ea108f49c 100644 --- a/modules/encryption/sha1.cpp +++ b/modules/encryption/sha1.cpp @@ -1,3 +1,22 @@ +/* + * Anope IRC Services + * + * Copyright (C) 2006-2016 Anope Team + * + * This file is part of Anope. Anope is free software; you can + * redistribute it and/or modify it under the terms of the GNU + * General Public License as published by the Free Software + * Foundation, version 2. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see see . + */ + /* SHA-1 in C By Steve Reid diff --git a/modules/encryption/sha256.cpp b/modules/encryption/sha256.cpp index 226cf0feb..e05629a50 100644 --- a/modules/encryption/sha256.cpp +++ b/modules/encryption/sha256.cpp @@ -1,18 +1,20 @@ -/* This module generates and compares password hashes using SHA256 algorithms. +/* + * Anope IRC Services * - * If an intruder gets access to your system or uses a brute force attack, - * salt will not provide much value. - * IMPORTANT: DATA HASHES CANNOT BE "DECRYPTED" BACK TO PLAIN TEXT. + * Copyright (C) 2010-2016 Anope Team * - * Modified for Anope. - * (C) 2003-2014 Anope Team - * Contact us at team@anope.org + * This file is part of Anope. Anope is free software; you can + * redistribute it and/or modify it under the terms of the GNU + * General Public License as published by the Free Software + * Foundation, version 2. * - * Taken from InspIRCd ( www.inspircd.org ) - * see http://wiki.inspircd.org/Credits + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is free but copyrighted software; see - * the file COPYING for details. + * You should have received a copy of the GNU General Public License + * along with this program; if not, see see . */ /* FIPS 180-2 SHA-224/256/384/512 implementation -- cgit