summaryrefslogtreecommitdiff
path: root/crypto/common
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-12-27 23:57:49 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-12-27 23:57:49 +0530
commitef39ef94cfe4d1c1d04901695b9a91b441108bff (patch)
treed278419c990812f11f253e67ad1cba65049d204e /crypto/common
parentd8f76b33e9ea74eb567a115dd63559f6b27b2fce (diff)
Revert "fix: check if passphrase is necessary before asking for it"
Didn't fix the issue. This reverts commit d8f76b33e9ea74eb567a115dd63559f6b27b2fce.
Diffstat (limited to 'crypto/common')
-rw-r--r--crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt b/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt
index 20a4d1d9..898cf058 100644
--- a/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt
+++ b/crypto/common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt
@@ -41,10 +41,4 @@ public interface CryptoHandler<Key, EncOpts : CryptoOptions, DecryptOpts : Crypt
/** Given a [fileName], return whether this instance can handle it. */
public fun canHandle(fileName: String): Boolean
-
- /**
- * Inspects the given encrypted [message] to notify user if a passphrase is necessary to decrypt
- * it.
- */
- public fun isPassphraseProtected(message: InputStream): Boolean
}