Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Feature]: make self-destruction PIN less noticeable to an adversary

未关闭
#7,233 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
android
领域
mobile, security

调研方向

The issue names no files, tests, or entry points. Start by comparing the regular and self-destruction PIN flows using the linked video, then review issue #4765 for the proposed decoy-account direction; done should make the two PIN outcomes indistinguishable to an adversary without breaking data destruction.

由索引模型根据 Issue 内容生成。

描述

enhancement triage
Is there an existing issue for this?
  • I have searched the existing issues
Platform

Android

App version

6.5.6

Feature

The data destruction password works correctly, but an adversary can see with the naked eye whether the user entered the regular password or the self-destruction password. In some cases, the user may be put in danger if the adversary notices that they are hiding something. The video below compares the app’s behavior when the user enters the correct password and when they enter the self-destruction password:

https://youtube.com/shorts/AH-mBpOPC6U?si=FM9eO1UX1f8arBeh

First, the application loads instantly when the regular PIN is entered, but it takes several seconds to load when the user enters the duress PIN. A possible solution would be to add a delay to regular PIN verification, for example by using a key derivation function, so that entering the PIN takes roughly the same amount of time in both scenarios.

Second, when the regular PIN is entered, the size of the user data remains the same before and after unlocking the app. However, when the decoy PIN is entered, the size of the user data decreases after the app is unlocked. Moreover, if the user previously had several megabytes of user data and then shows the adversary an empty account, this may be enough for the adversary to conclude that the user has destroyed their data.

This issue is harder to solve. One possible mitigation would be to preallocate some space even for empty accounts, or to show a decoy user account instead of an empty one after the self-destruction password is entered, as proposed here.

主要语言
Haskell
星标
19.5k
派生
1.4k
平均合并
2 天 3 小时
30 天内合并 PR
117

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

simplex-chat/simplex-chat 的其他 Issue

查看 simplex-chat/simplex-chat 的全部 Issue

相似的 Issue

更多 Haskell Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。