Derrick
c8919d4338
Update the mumble proto.
2020-04-12 13:15:57 -07:00
Derrick
0d39f28f6e
Fix infinite loop in log writer.
...
The log writter would end up calling itself non-stop. This instead tells
the logtarget.Write function to call the MultiWriter's Write instead of
itself.
2020-04-11 21:09:35 -07:00
Ola Bini
8b2c7901ee
Use MultiWriter to simplify the writing implementation. Also make it possible to initialize the log target to variable amounts of writers, and doesn't hardcode the use of StdErr as output
2020-03-26 14:20:13 +00:00
Ola Bini
d6c4d9f766
Remove unused field
2020-03-26 14:10:33 +00:00
Ola Bini
9c082d3516
Make OpenFile a factory function instead of a method on LogTarget. Use this to initialize the default logging target
2020-03-26 14:09:03 +00:00
Ola Bini
dd6f383d3e
Rename the default logtarget to not stutter. Also hide the default file log target implementation
2020-03-26 14:04:14 +00:00
Ola Bini
8d351aedb0
Extract a LogTarget interface to make it easier to manage logging
2020-03-26 14:00:01 +00:00
Ola Bini
76138f47fd
Run go fmt and goimports on all files, to make them follow Golang standards
2019-12-20 22:51:21 +00:00
CodeLingo Bot
eb02aadf56
Fix function comments based on best practices from Effective Go
...
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-03-11 00:56:12 +00:00
Ian Bishop
41f8b391e4
Merge PR #29 : Fix failing tests on Go 1.10
2018-09-01 14:05:57 -05:00
rubenseyer
1d0ca25f5a
Websockets support
2018-02-09 20:59:09 +01:00
Mikkel Krautz
cac5952847
Fix a few typos in pkg/cryptstate.
...
Thanks to @GEverding for mentioning this in mumble-voip/grumble#9
2016-10-15 19:22:00 +02:00
Mikkel Krautz
b871d9c092
pkg/cryptstate: remove NULL crypto mode.
...
It's not too sensible to have a NULL mode in the first place,
and the CryptState code expects non-0 IVs and keys.
Drop it.
2016-10-15 19:18:08 +02:00
Mikkel Krautz
ed37ea33e1
Add message to pkg/mumbleproto/generate_main.go about crypto_modes field.
2016-03-29 01:35:39 +02:00
Tim Cooper
123c287eb7
use go generate over Makefile
2016-03-27 19:27:23 -03:00
Tim Cooper
37f8d62319
sync Mumble.proto
2016-03-27 14:07:12 -03:00
Tim Cooper
9d091cc32a
fix proto sync script
2016-03-27 14:06:07 -03:00
Mikkel Krautz
4d656053e4
Fix typo in replacefile_stub.go.
...
It's errOnlyWindows, not errOnlyOnWindows.
2016-03-27 18:29:46 +02:00
Tim Cooper
20eba760e5
go fmt
2016-03-25 22:05:23 -03:00
Tim Cooper
083163daf9
use updated import paths for proto, nacl
2016-03-25 22:04:43 -03:00
Mikkel Krautz
8302bb2b08
Migrate from mumbleapp.com to mumble.info.
2014-04-15 14:13:00 +02:00
Mikkel Krautz
48765ff1e8
grumble, pkg/*: get rid of makefiles.
2013-05-25 17:13:26 +02:00
Mikkel Krautz
f287fedb33
pkg/blobstore: use correct Open signature in tests.
2013-02-09 21:39:27 +01:00
Mikkel Krautz
3ef203a83f
grumble, pkg/acl: move ACL handling to the acl package.
2013-02-09 21:33:32 +01:00
Mikkel Krautz
3dc3b25f57
pkg/blobstore: modernize the blobstore package.
2013-02-04 23:36:45 +01:00
Mikkel Krautz
533283bd53
pkg/cryptstate: unexport DecryptHistorySize.
2012-12-09 13:22:39 +01:00
Mikkel Krautz
3af010d3f5
pkg/packetdata: rename from packetdatastream.
2012-12-09 13:18:24 +01:00
Mikkel Krautz
5d9df8383a
pkg/cryptstate: add XSalsa20-Poly1305 to the SupportedModes list.
2012-12-09 13:14:45 +01:00
Mikkel Krautz
cbe2ffea3d
pkg/cryptstate: add NULL crypto mode.
2012-12-09 12:58:59 +01:00
Mikkel Krautz
edf98fa75f
pkg/cryptstate: add support for XSalsa20-Poly1305 crypto mode.
2012-12-09 12:44:33 +01:00
Mikkel Krautz
cd363d197e
grumble: allow for other ciphers than OCB2-AES128.
2012-12-08 23:50:32 +01:00
Mikkel Krautz
eacf839182
pkg/cryptstate: add Overhead(); use it internally.
2012-12-08 23:39:19 +01:00
Mikkel Krautz
56b174d983
pkg/cryptstate: make cryptstate independent of the chosen crypto mode.
2012-12-08 23:34:42 +01:00
Mikkel Krautz
154b7938d3
pkg/cryptstate, pkg/cryptstate/ocb2: move OCB2 tag verification into ocb2.Decrypt.
2012-12-08 22:56:05 +01:00
Mikkel Krautz
2b12adc014
pkg/cryptstate: get rid of ocb2.NonceSize hard-coding.
2012-12-08 22:39:24 +01:00
Mikkel Krautz
33a7e1304d
pkg/cryptstate: cleanups for multiple crypto modes.
2012-12-08 22:25:58 +01:00
Mikkel Krautz
cabe380244
grumble: add support for crypto mode negotiation.
2012-12-08 22:10:21 +01:00
Mikkel Krautz
06bfb5949a
pkg/cryptstate/ocb2: remove junk from test file's copyright header.
2012-12-02 13:00:36 +01:00
Mikkel Krautz
d6b71c5553
grumble, pkg/cryptstate: make it possible to use CryptState as a non-pointer member.
2012-12-02 12:59:30 +01:00
Mikkel Krautz
4c4c4a1174
pkg/cryptstate/ocb2: add missing copyright header.
2012-12-02 12:52:52 +01:00
Mikkel Krautz
3a63d96fe1
pkg/cryptstate/ocb2: re-arrange var blocks inside Encrypt and Decrypt.
2012-12-02 12:44:15 +01:00
Mikkel Krautz
389e2f844d
pkg/cryptstate/ocb2: stricter cipher/tag/nonce checking.
2012-12-02 12:40:55 +01:00
Mikkel Krautz
66c82c9a91
pkg/cryptstate/ocb2: update times2 documentation.
2012-12-02 12:33:24 +01:00
Mikkel Krautz
5c54c17247
pkg/cryptstate: use new OCB2 consts for array definitions.
2012-12-01 17:32:24 +01:00
Mikkel Krautz
94c7cc2be0
pkg/cryptstate/ocb2: add documentation.
2012-12-01 17:26:17 +01:00
Mikkel Krautz
2ffd43f26b
pkg/cryptstate/ocb2: add OCB2 test vectors.
2012-12-01 16:27:24 +01:00
Mikkel Krautz
0f058d3b76
pkg/cryptstate, pkg/cryptstate/ocb2: split OCB2 implementation out into its own package.
2012-12-01 11:42:02 +01:00
Mikkel Krautz
eb64671d5a
pkg/cryptstate: use passed-in nonce in OCBEncrypt.
2012-12-01 11:16:02 +01:00
Mikkel Krautz
a415ae75a9
grumble: Opus support.
2012-11-18 23:26:37 +01:00
Mikkel Krautz
dd76f22eb7
grumble, pkg/*: go fmt.
2012-11-18 17:59:07 +01:00