File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,15 +125,9 @@ class E2EEManager {
125125
126126 Future <void > ratchetKey ({String ? participantId, int ? keyIndex}) async {
127127 if (participantId != null ) {
128- final newKey = await _keyProvider.ratchetKey (participantId, keyIndex);
129- if (kDebugMode) {
130- print ('newKey: $newKey ' );
131- }
128+ await _keyProvider.ratchetKey (participantId, keyIndex);
132129 } else {
133- final newKey = await _keyProvider.ratchetSharedKey (keyIndex: keyIndex);
134- if (kDebugMode) {
135- print ('newKey: $newKey ' );
136- }
130+ await _keyProvider.ratchetSharedKey (keyIndex: keyIndex);
137131 }
138132 }
139133
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- import 'dart:convert' ;
1615import 'dart:typed_data' ;
1716
1817import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc;
@@ -141,7 +140,7 @@ class BaseKeyProvider implements KeyProvider {
141140 if (! _keys.containsKey (keyInfo.participantId)) {
142141 _keys[keyInfo.participantId] = {};
143142 }
144- logger.info ('_setKey for ${keyInfo .participantId }, idx: ${keyInfo .keyIndex }, key: ${ base64Encode ( keyInfo . key )} ' );
143+ logger.info ('_setKey for ${keyInfo .participantId }, idx: ${keyInfo .keyIndex }' );
145144 _keys[keyInfo.participantId]! [keyInfo.keyIndex] = keyInfo.key;
146145 _latestSetIndex[keyInfo.participantId] = keyInfo.keyIndex;
147146 await _keyProvider.setKey (
You can’t perform that action at this time.
0 commit comments