diff options
author | Adam <Adam@anope.org> | 2016-07-31 12:01:00 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-07-31 12:01:00 -0400 |
commit | 26e158addf18ff61b99dc70a407b22682e6a421d (patch) | |
tree | 11f493663cad6cba69bebb9124b8c8f4bbcf74de /modules/encryption | |
parent | 4cddff9e2340f1aa5a785e47cdb2cff7eee437ad (diff) |
Update license headers and copyrights on all source files
Diffstat (limited to 'modules/encryption')
-rw-r--r-- | modules/encryption/bcrypt.cpp | 22 | ||||
-rw-r--r-- | modules/encryption/md5.cpp | 24 | ||||
-rw-r--r-- | modules/encryption/none.cpp | 20 | ||||
-rw-r--r-- | modules/encryption/old.cpp | 20 | ||||
-rw-r--r-- | modules/encryption/sha1.cpp | 19 | ||||
-rw-r--r-- | modules/encryption/sha256.cpp | 24 |
6 files changed, 96 insertions, 33 deletions
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 <team@anope.org> * - * (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 <http://www.gnu.org/licenses/>. + */ + +/* * 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 <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 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 <http://www.gnu.org/licenses/>. + */ + +/* * Taken from IRC Services and is copyright (c) 1996-2002 Andrew Church. * E-mail: <achurch@achurch.org> * 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 <team@anope.org> * - * 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 <http://www.gnu.org/licenses/>. */ #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 <team@anope.org> * - * 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 <http://www.gnu.org/licenses/>. */ #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,4 +1,23 @@ /* + * Anope IRC Services + * + * Copyright (C) 2006-2016 Anope Team <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 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 <http://www.gnu.org/licenses/>. + */ + +/* SHA-1 in C By Steve Reid <steve@edmweb.com> 100% Public Domain 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 <team@anope.org> * - * 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 <http://www.gnu.org/licenses/>. */ /* FIPS 180-2 SHA-224/256/384/512 implementation |