Confusion of profile between thunderbird and octopus
Thunderbird 127.0a1 with octopus 1.8.1, TRACE set to true
When I start thunderbird with -profile $somedir, octopus tries to use the default profile from thunderbird instead of $somedir.
$ GNUPGHOME=/dev/null /opt/thunderbird/thunderbird -profile /some/path/outside/the/thunderbird/profile
[ImapModuleLoader] Using nsImapService.cpp
2024-05-10 09:49:01.277979887 UTC: sequoia-octopus: TRACE: TBProfile::path: Considering "/home/malte/.thunderbird/profiles.ini"
2024-05-10 09:49:01.278090732 UTC: sequoia-octopus: TRACE: TBProfile::path: Profile directory (raw): "something.default-release"
2024-05-10 09:49:01.278096693 UTC: sequoia-octopus: TRACE: TBProfile::path: Profile directory (absolute path): "/home/malte/.thunderbird/something.default-release"
2024-05-10 09:49:01.278108659 UTC: sequoia-octopus: TRACE: TBProfile::path: lock file: "/home/malte/.thunderbird/something.default-release/lock" -> "127.0.1.1:+3944"
2024-05-10 09:49:01.278118987 UTC: sequoia-octopus: TRACE: TBProfile::path: pid: Some(3944)
2024-05-10 09:49:01.278133160 UTC: sequoia-octopus: TRACE: TBProfile::path: Considering "/home/malte/.mozilla-thunderbird/profiles.ini"
2024-05-10 09:49:01.278143926 UTC: sequoia-octopus: TRACE: TBProfile::path: Opening "/home/malte/.mozilla-thunderbird/profiles.ini": No such file or directory (os error 2)
2024-05-10 09:49:01.278149993 UTC: sequoia-octopus: TRACE: TBProfile::select_profile: my pid is: 10199
2024-05-10 09:49:01.278165391 UTC: sequoia-octopus: TRACE: TBProfile::select_profile: candidate profile directories: [("/home/malte/.thunderbird/something.default-release", Some(3944), Some(SystemTime { tv_sec: 1715330731, tv_nsec: 565909088 }))]
2024-05-10 09:49:01.278171753 UTC: sequoia-octopus: TRACE: TBProfile::select_profile: Using Thunderbird Profile: Some("/home/malte/.thunderbird/something.default-release")
2024-05-10 09:49:01.289015431 UTC: sequoia-octopus: rnp_load_keys: Your Thunderbird is using Sequoia's Octopus, version 1.8.1
(sequoia-openpgp: 1.19.0). For details, and to report issues please
see https://gitlab.com/sequoia-pgp/sequoia-octopus-librnp .
2024-05-10 09:49:01.289051574 UTC: sequoia-octopus: rnp_load_keys: Your Thunderbird profile appears to be: "/home/malte/.thunderbird/something.default-release"
The default profile contains a lot of keys, with -profile $somedir these keys are not available. Identity separation seems to work - but that is just the first impression and not carefully tested.
Even if it doesn't seem that sequoia-octopus: rnp_load_keys: Your Thunderbird profile appears to be: "/home/malte/.thunderbird/something.default-release"
has consequences, it's confusing.