Commit Graph

102 Commits

Author SHA1 Message Date
BakasuraRCE
a1f538ac67 fishlim: Detect context where is /delkey 2019-05-26 18:46:20 -05:00
BakasuraRCE
44affdb2d5 fishlim: Fix use non-sensitive string comparison 2019-05-26 15:24:44 -05:00
BakasuraRCE
c5c74173f6 fishlim: Add encrypted flag to /notice+ 2019-05-26 15:16:18 -05:00
BakasuraRCE
c96f704027 fishlim: Fix /notice+ not print the notice 2019-05-26 15:10:18 -05:00
BakasuraRCE
9fd51b39c8 fishlim: Add encrypted flag
bug fix: Include prefix for own nick on outgoing messages
2019-05-26 15:05:53 -05:00
BakasuraRCE
76d74c8234 fishlim: Implement CBC mode in /setkey and /keyx
display information from cipher mode to the user
keep backward compatibility
2019-05-26 00:46:37 -05:00
BakasuraRCE
397ea869a7 fishlim: Use CBC mode for keystore
keep backward compatibility
2019-05-25 18:52:38 -05:00
BakasuraRCE
0f441ae8ea fishlim: Fix base64 functions name already in use 2019-05-25 18:49:52 -05:00
BakasuraRCE
8e2559e553 fishlim: Add CBC mode 2019-05-25 16:50:57 -05:00
BakasuraRCE
7afa211849 fishlim: Fix only positive lengths 2019-05-24 23:30:24 -05:00
BakasuraRCE
ec265f61ba fishlim: Fix only positive lengths 2019-05-24 22:11:27 -05:00
BakasuraRCE
767891b84a fishlim: Add corner cases 2019-05-24 22:07:19 -05:00
BakasuraRCE
cae18fc207 fishlim: Add copyright 2019-05-24 20:31:15 -05:00
BakasuraRCE
9f4c147a20 fishlim: Replace cipher core by EVP functions 2019-05-24 20:15:26 -05:00
BakasuraRCE
8f4962188f fishlim: Copy current fish cipher for future unit tests 2019-05-24 20:11:18 -05:00
Patrick Griffis
23c7e7c3da fishlim: Fix build warning 2018-02-18 04:31:55 -05:00
Patrick Griffis
27fd9b3fd6 Hide false-positive deprecated warning 2017-06-15 00:14:30 -04:00
Patrick Griffis
628100c19f build: Replace Autotools with Meson
Quick rundown of benefits:

- Much faster:
  - Autotools (with autogen): 22 seconds
  - Meson: 7 seconds
  - Meson (with ccache): 2 seconds

- Simpler:
  - ~1000 lines smaller
  - Single simple language

- Potentially better Windows (Visual Studio) support

What is not done:

- Complete Windows support
- OSX support (easy)

Closes #2013
Closes #1937
Closes #1803
2017-06-13 23:54:51 -04:00
eimmot
be6473227b Fix key exchange
Clients will receive the proper shared secret.

Eliminates error message:
SSL_read: error:05066064:Diffie-Hellman routines:compute_key:no private value

Fixes #1974
2017-03-30 16:32:40 -04:00
Patrick Griffis
2376b7fb6a fishlim: Fix not including config.h 2017-01-05 13:07:51 -05:00
Patrick Griffis
aa7080f8fe Fix building fishlim against libressl also
Also part of #1898
2016-12-13 17:37:15 -05:00
Mattia Rizzolo
c7849a8921 Fix typos s/Recieved/Received/ 2016-11-28 15:17:36 -05:00
Patrick Griffis
a0e80ebda2 Final fixup of OpenSSL 1.1.0 changes 2016-10-23 03:34:15 -04:00
Igor
c0aa47c7a1 fishlim: Fix MEMZERO macro using element number not bytes
Closes #1837
2016-10-11 09:58:06 -04:00
Patrick Griffis
7329dbdc57 fishlim: Bump version 2016-10-08 14:48:49 -04:00
Patrick Griffis
bfe0af69fa fishlim: Remove outdated INSTALL file 2016-10-08 14:48:49 -04:00
Patrick Griffis
c81c89dc80 fishlim: Fix saving nicks containing [ or ]
Part of #1440
2016-10-08 14:48:49 -04:00
Groil
31dd020114 fishlim: Add support for the /me command
Part of #1440
2016-10-08 14:48:49 -04:00
cypherpunk
321587c73b fishlim: Add commands /topic+ /msg+ and /notice+
Part of #1440
2016-10-08 14:48:49 -04:00
Patrick Griffis
dba19a961b fishlim: Add /keyx for DH1080 key exchange
Losely based upon work from PR #1440

Fixes #653
2016-10-08 14:48:49 -04:00
Rainer Müller
c79ce843f4 build: Reorder includes to avoid installed plugin header
When hexchat is already installed into a non-default prefix, a new build
could pick up ${prefix}/include/hexchat-plugin.h from the installed
version instead of the local header, as configuration variables such as
$(GLIB_CFLAGS) would point to -I${prefix}/include.

Reordering the includes and moving -I arguments to CPPFLAGS prevents
this, as it ensures the local directories are always searched first.

This was no problem when compiling for /usr or /usr/local as these
directories in the compiler search path are always searched last.

Closes #1822
2016-09-26 19:16:42 -04:00
Patrick Griffis
aab881fda2 Fix strict prototype warnings 2016-02-18 08:57:22 -05:00
Rico Tzschichholz
b8e7dfa4ba build: Let 'make dist' do a better job 2015-10-16 17:25:01 +02:00
Arnavion
f7e3d3f32c Use VS 2015 2015-10-10 16:14:12 -07:00
TingPing
9b2c560519 Remove unused file 2015-04-23 01:07:31 -04:00
Arnavion
9858784eb6 Better project files.
- Output directly to rel\ instead of to bin\ and then copying files over.
- Deduped Win32 vs x64 configs
- Moved some common properties to hexchat.props
- All build intermediates (except htm's intermediates) are no longer emitted in the source directory
2015-02-11 10:01:29 -08:00
TingPing
95febd978c Fix building as c89 2014-12-28 06:47:23 -05:00
TingPing
3f855f07f5 Use glib for allocations in all plugins
Continuation of 83032b1aa
2014-12-28 06:47:07 -05:00
TingPing
aeb5d15871 More consistently include config.h 2014-12-17 18:21:10 -05:00
TingPing
76c2cfebc3 Don't require glib 2.40 2014-12-15 15:34:12 -05:00
TingPing
addefa9ef1 fishlim: Handle server-time 2014-12-15 15:08:00 -05:00
TingPing
7769bc99fe fishlim: Use proper filesystem encoding for files 2014-12-15 15:08:00 -05:00
TingPing
ce396b3ddb fishlim: Use standard keyfile save function 2014-12-15 15:08:00 -05:00
TingPing
ebe0ad4cd5 fishlim: Strip whitespace when deleting keys
This fixes a personal annoyance when you tab complete
a channel to delete
2014-12-15 15:07:43 -05:00
TingPing
bdb5c3eb9d fishlim: Use hexchat_nickcmp() 2014-12-15 15:06:48 -05:00
TingPing
c54a0c6db9 fishlim: Improve string handling 2014-12-15 15:06:48 -05:00
TingPing
0e4164ad0c configure: Improve various build flags
- Store openssl flags in own vars
- Share some common flags for plugins
- Fix building plugins on win32
- Store all glib flags in one var
- Don't link against every lib for each plugin
- Don't hardcode ldflags for sysinfo
2014-12-15 11:07:46 -05:00
TingPing
121cb8b88d Fix formatting warnings
Found by #1059
2014-07-18 07:16:43 -04:00
TingPing
af7e6d3e20 fishlim: Fix filename in error messages 2014-06-02 18:28:35 -04:00
Samuel Lidén Borell
7c52e29e6e Handle a special character before "+OK", e.g. identify-msg + or - 2014-06-02 23:52:34 +02:00