From 5a4f68e70a4b85beeb3286a7905123063f0d061b Mon Sep 17 00:00:00 2001 From: Slavasil Date: Tue, 24 Mar 2026 23:05:38 +0300 Subject: [PATCH] remove console.writeline's in OuterEncryptionReader --- src/KeyKeeper/PasswordStore/Crypto/OuterEncryptionReader.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/KeyKeeper/PasswordStore/Crypto/OuterEncryptionReader.cs b/src/KeyKeeper/PasswordStore/Crypto/OuterEncryptionReader.cs index 035215b..e7a5688 100644 --- a/src/KeyKeeper/PasswordStore/Crypto/OuterEncryptionReader.cs +++ b/src/KeyKeeper/PasswordStore/Crypto/OuterEncryptionReader.cs @@ -113,7 +113,6 @@ public class OuterEncryptionReader : Stream public override int Read(Span buffer) { - Console.WriteLine("OE read " + buffer.Length); int toRead = buffer.Length; int read = 0; while (toRead > 0) @@ -122,24 +121,20 @@ public class OuterEncryptionReader : Stream { if (!isCurrentChunkLast) { - Console.WriteLine("OER: reading next chunk"); LoadAndDecryptNextChunk(); } else { - Console.WriteLine("OER: read " + read + " bytes before EOF"); break; } } byte[] chunk = currentChunk!; int n = Math.Min(toRead, chunk.Length - chunkPosition); - Console.WriteLine("OER: copy " + n + " bytes chunk+" + chunkPosition + " -> buffer+" + read); new Span(chunk, chunkPosition, n).CopyTo(buffer.Slice(read)); read += n; toRead -= n; chunkPosition += n; position += n; - Console.WriteLine(string.Format("read={0} toread={1} pos={2}", read, toRead, chunkPosition)); } return read; }