Revert "chore: remove unnecessary CryptoHandlerModule"

This is used in #2170 so let's avoid the unnecessary conflict.

This reverts commit f5bf45037a.
This commit is contained in:
Harsh Shandilya 2022-10-10 14:45:07 +05:30
parent f5bf45037a
commit 9f5062986d
No known key found for this signature in database

View file

@ -0,0 +1,18 @@
/*
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
package app.passwordstore.injection.crypto
import app.passwordstore.crypto.PGPainlessCryptoHandler
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
@Module
@InstallIn(SingletonComponent::class)
object CryptoHandlerModule {
@Provides fun providePgpCryptoHandler() = PGPainlessCryptoHandler()
}