Simon Walton
377fc6d6c6
Revert to old packet version for ICE packets
...
Some ICE (& STUN) packets were using the default version,
which we bumped for the HMAC change. This commit breaks
out the switch for them and reverts to 17.
2018-04-19 16:55:32 -07:00
Simon Walton
68ab0eed68
HMACAuth - fix some more spacing issue
2018-03-22 14:44:25 -07:00
Simon Walton
3e1a333776
Just bump default packet version
2018-03-21 18:40:54 -07:00
Simon Walton
16b0c48b73
HMACAuth - improved syntax for new
2018-03-21 18:32:25 -07:00
Simon Walton
29b4353397
Spacing clean-up
2018-03-21 18:26:32 -07:00
Simon Walton
d58b2acc8c
Use raw pointer for possibly-opaque openssl context type
2018-03-21 18:25:26 -07:00
Simon Walton
3ced1c8923
More Openssl 1.1 (Android) fixes
2018-03-21 17:31:54 -07:00
Simon Walton
ef08770235
Missed reviewer change
2018-03-21 17:17:24 -07:00
Simon Walton
755d89464f
HMAC Auth - reviewer-requested changes
2018-03-21 17:15:49 -07:00
Simon Walton
64973aa334
OpenSSL HMAC changes for Android
...
Looks like Android uses OpenSSL 1.1.0, which provides
an allocator for its HMAC context.
2018-03-21 17:06:15 -07:00
Simon Walton
fb16e772ba
Move HMACAuth class to networking lib
...
Also reverts addition of openssl headers to shared lib.
Commit will require rerunning cmake.
2018-03-21 15:25:50 -07:00
Simon Walton
adbb2400ab
HMAC Auth - add openssl to cmake file for lib shared
2018-03-21 14:58:14 -07:00
Simon Walton
eb04f77c3d
HMAC Auth - code modifications requested by reviewer
2018-03-21 14:04:34 -07:00
Simon Walton
8ce03d65b7
Only update the connection secret UUID if it changes
...
Rekeying the openssl HMAC context occasionally causes
hash generation errors. It is not clear why. The Node
secret never seems to change to check for this before
rekeying. Also other clean-up for PR.
2018-03-20 18:16:45 -07:00
Simon Walton
2a486a4c14
Bump packet version numbers
2018-03-19 17:48:11 -07:00
Simon Walton
020a6a6585
Take out hash timing code
2018-03-19 15:57:32 -07:00
Simon Walton
da7298b8bd
Support only HMAC - take out passing around of secret UUID
...
Also other clean-up for production use.
2018-03-19 15:28:44 -07:00
Simon Walton
af21cac0c2
Fixes for gcc
2018-03-19 12:53:16 -07:00
Simon Walton
d889384d94
Use elaborated type-specifier for openssl internal class
2018-03-19 09:41:57 -07:00
Simon Walton
db8a1ccb3e
Set HMAC key once and reuse OpenSSL context
...
Store the HMAC wrapper in Node. Unfortunately requires a
lot of plumbing down to NLPacket. Added a mutex to the
wrapper since suspicious crashes occurred.
Authentication times seem to be comparable to existing MD5.
2018-03-16 18:03:13 -07:00
Simon Walton
480f76c21a
Quick trial of HMAC-MD5 auth + timings
2018-03-16 11:50:03 -07:00
Simon Walton
82b68fce8d
Quick attempt at using openssl HMAC in NLPacket
2018-03-15 18:32:48 -07:00
Bradley Austin Davis
b25beeb10b
Merge pull request #12640 from jherico/fix/web_process
...
Don't leave trash web processes when changing web entity urls
2018-03-14 19:40:13 -07:00
Ken Cooke
b1dd63cfd3
Merge pull request #12619 from kencooke/audio-src-kernel-128
...
Improved audio quality for streaming music
2018-03-14 18:30:23 -07:00
Sam Gondelman
46bbfc2680
Merge pull request #12643 from gcalero/keyboard_crashing
...
Possible fix for keyboard crash
2018-03-14 15:53:17 -07:00
Gabriel Calero
d0f1aa9020
Refactor fix for keyboard crash
2018-03-14 19:18:42 -03:00
Gabriel Calero
e744edc6a0
Possible fix for keyboard crash
2018-03-14 18:11:23 -03:00
Stephen Birarda
0c0ce1d6b8
Merge pull request #12508 from SimonWalton-HiFi/server-script
...
Stop server-script URLs when deleted from entity properties (case 11244)
2018-03-14 14:01:01 -07:00
Sam Gondelman
815260933a
Merge pull request #12642 from gcalero/android_change_default_mode
...
Change default mode to My View in Android
2018-03-14 13:47:16 -07:00
Gabriel Calero
04decfa89c
Merge remote-tracking branch 'upstream/master' into android_change_default_mode
2018-03-14 16:49:41 -03:00
Sam Gondelman
ba0c273614
Merge pull request #12641 from SamGondelman/android
...
Update gpu-gles based on TAA PR
2018-03-14 12:41:24 -07:00
SamGondelman
e59af8892a
make same changes to gles backend from taa pr
2018-03-14 12:09:59 -07:00
Brad Davis
baa4dc3383
Don't leave trash web processes when changing web entity urls
2018-03-14 11:38:46 -07:00
Gabriel Calero
884da98466
Change default mode to My View (android)
2018-03-14 14:50:44 -03:00
Sam Gateau
2487e34ee8
Merge pull request #12633 from SamGondelman/aa
...
Fix HUD sphere rendering after TAA changes
2018-03-14 09:26:25 -07:00
SamGondelman
3b877db992
fix hud sphere
2018-03-13 14:58:29 -07:00
John Conklin II
a0e2fc3665
Merge pull request #12564 from SimonWalton-HiFi/record-avatar-pr
...
Fixes for missing avatar on record replays
2018-03-13 14:10:10 -07:00
Sam Gateau
2dde65d74f
Merge pull request #12631 from SamGondelman/aa
...
Apply TAA to text and web entities/overlays
2018-03-13 13:00:42 -07:00
SamGondelman
4adc357534
apply taa to text and web entities/overlays
2018-03-13 11:57:14 -07:00
Seth Alves
3ee41c71e4
Merge pull request #12529 from Atlante45/fix/nvtt-mac
...
Fix NVTT for mac
2018-03-13 11:28:42 -07:00
John Conklin II
5be2f0acc7
Merge pull request #12490 from Zvork/taa
...
Temporal Anti-Aliasing
2018-03-13 09:03:50 -07:00
John Conklin II
615c98816f
Merge pull request #12620 from ctrlaltdavid/21778
...
Fix rotation and position of avatar meshes attached to eye joints
2018-03-13 08:17:50 -07:00
Ken Cooke
bcf893db18
Merge pull request #12586 from kencooke/audio-peakmeters-fix
...
Fix crash when closing the Audio menu
2018-03-13 07:52:37 -07:00
Sam Gondelman
db2b79f4fb
Merge pull request #12626 from gcalero/android_hifi_audio_codec
...
Android hifi audio codec
2018-03-12 16:21:21 -07:00
Gabriel Calero
3117ec9015
Merge remote-tracking branch 'upstream/master' into android_hifi_audio_codec
2018-03-12 19:44:24 -03:00
Bradley Austin Davis
f48db825c3
Merge pull request #12615 from jherico/fix/ktx_loading
...
Fix local KTX files never being removed from pending downloads
2018-03-12 15:04:40 -07:00
Sam Gondelman
c59d29f4ee
Merge pull request #12623 from SamGondelman/android
...
Android: Fix corruption on startup
2018-03-12 15:03:07 -07:00
John Conklin II
7f7d20738a
Merge pull request #12553 from vladest/mac_combobox_misplaced
...
Fix CheckBox on Mac
2018-03-12 14:47:39 -07:00
Ken Cooke
c9e253ab14
Merge pull request #12621 from ctrlaltdavid/21791
...
Fix CPU and GPU not throttling when Interface minimized from maximized
2018-03-12 14:43:47 -07:00
MiladNazeri
e054f16c46
Merge pull request #12526 from ctrlaltdavid/21709
...
Entities API JSDoc
2018-03-12 14:40:09 -07:00