Ignacio R. Morelle 2d836ddcd9 campaignd: Use base64-encoded hashes for add-on passphrases again
Fixes #2068.

As pointed out in the ticket, commit
98648ddf636bf4725d17334addac57850c478315 changed the implementation of
hex_digest() to use hexadecimal numbers instead of base64, causing new
calculated hashes during [upload] and other authenticated operations to
not match what campaignd already had on record.

This commit fixes that by using utils::md5::base64_digest() as
recommended by celticminstrel (which had already been done for wesnothd
but not campaignd, of course). It also matches the 1.12 version of the
campaignd hashing code this way.

Additionally, new uploads/passphrases since the deployment of that change
will need to be re-set by hand to get their base64 versions into the
server config.
2017-10-08 19:55:18 -03:00
2017-05-14 09:47:19 +11:00
2017-05-14 09:47:19 +11:00
2017-05-20 14:52:40 +02:00
2017-04-28 15:07:06 +11:00
2017-09-21 15:41:57 +02:00
2017-10-02 12:32:05 +02:00
2017-04-28 15:07:06 +11:00
2017-10-07 09:53:30 +03:00
lol
2017-10-05 06:25:05 +03:00
2017-09-22 14:22:20 -04:00
2017-05-07 11:02:00 -04:00
2017-05-05 18:59:56 +11:00
2017-10-07 09:53:30 +03:00

Build Status Build status License: GPL v2 Coverity Scan

About

The Battle for Wesnoth is a Free, turn-based tactical strategy game with a high fantasy theme, featuring both singleplayer and online/hotseat multiplayer combat. Fight a desperate battle to reclaim the throne of Wesnoth, or take hand in any number of other adventures.

License

The game's source code and artwork, sound, and music assets are provided under the terms of the GNU General Public License version 2, or (at your option) any later version. Note that for artwork, sound, and music, we interpret "preferred form of the work for making modifications" as the modifiable form that the author chooses to ship us for the source tree. For convenience, a reference copy of the GNU GPL version 2 is provided in the COPYING file in this distribution.

Some portions of the source code can be used under different license terms, whenever stated as such in the source.

Installing

See INSTALL for instructions on how to build the game from source code.

More Information

For extensive documentation about all aspects of the game, see the official Battle for Wesnoth web site.

https://www.wesnoth.org/

A (translated) description of how to play the game can be found in doc/manual/manual.*.html, or online at:

http://manual.wesnoth.org/

The official Battle for Wesnoth Forums (with over 400,000 posts from more than 20,000 registered members) can be found at:

https://forums.wesnoth.org/

Description
韦诺之战
Readme 9 GiB
Languages
INI 51.6%
C++ 35.9%
Lua 5.7%
Python 4.3%
Emacs Lisp 1%
Other 1.1%