google / google/magika

[Misdetection] ASCII-armored GPG key file misdetected as PEM certificate

Open
#1,338 0 comments 0 reactions 0 assignees View on GitHub
misdetection needs triage
Dominant language
Rust
Stars
18.6k
Forks
1.2k
Avg merge
3d 12h
Merged PRs (30d)
20

Description

**What should the file have been detected as? What has the file been misdetected as?**
Should be something like "ASCII-armored GPG file".

This was the output:
```
$ magika mullvad-code-signing.asc
mullvad-code-signing.asc: PEM certificate (application)
```

**Please link or attach the misdetected file below** (Do NOT upload PII!)
https://mullvad.net/media/mullvad-code-signing.asc

**Additional context**

Contributor guide

Open the contributing guide

Research direction

Download the linked mullvad-code-signing.asc file and reproduce the result with the magika command shown in the issue. Trace the classification path for this sample and adjust the relevant detection behavior so it is identified as an ASCII-armored GPG file rather than a PEM certificate, then rerun the command to verify the output.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.