diff --git a/CHANGELOG.md b/CHANGELOG.md
index f71f3f010..3f937129f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -35,6 +35,7 @@
- sql: enable `auto_vacuum=INCREMENTAL` #2931
- Synchronize Seen status across devices #2942
- Add API to set the database password #2956
+- Add information about whether the database is encrypted or not to `dc_get_info()` #3000
- Add Webxdc #2826 #2971 #2975 #2977 #2979 #2993 #2998
### Changed
diff --git a/src/context.rs b/src/context.rs
index 7d12f681a..3ed0278fd 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -383,6 +383,13 @@ impl Context {
res.insert("number_of_contacts", contacts.to_string());
res.insert("database_dir", self.get_dbfile().display().to_string());
res.insert("database_version", dbversion.to_string());
+ res.insert(
+ "database_encrypted",
+ self.sql
+ .is_encrypted()
+ .await
+ .map_or_else(|| "closed".to_string(), |b| b.to_string()),
+ );
res.insert("journal_mode", journal_mode);
res.insert("blobdir", self.get_blobdir().display().to_string());
res.insert("display_name", displayname.unwrap_or_else(|| unset.into()));
diff --git a/src/sql.rs b/src/sql.rs
index 895bfb29d..d3d796387 100644
--- a/src/sql.rs
+++ b/src/sql.rs
@@ -43,6 +43,10 @@ pub struct Sql {
pub(crate) dbfile: PathBuf,
pool: RwLock