diff options
| author | Carson Fleming <[email protected]> | 2025-01-01 21:52:11 -0800 |
|---|---|---|
| committer | Carson Fleming <[email protected]> | 2025-01-01 21:52:11 -0800 |
| commit | dabf5e030c5a894ce7a1b02a35547e9d2abef93a (patch) | |
| tree | 998c9f706cd548118437a11effc9a8f88a53e42c /config.inc.php.dist | |
| parent | 389139c1749904477a22644248ba25f46485827e (diff) | |
| download | rc-inbox-settings-dabf5e030c5a894ce7a1b02a35547e9d2abef93a.tar.gz | |
prototyping key import
Diffstat (limited to 'config.inc.php.dist')
| -rw-r--r-- | config.inc.php.dist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config.inc.php.dist b/config.inc.php.dist index e9fb3fc..a7c045d 100644 --- a/config.inc.php.dist +++ b/config.inc.php.dist @@ -92,7 +92,8 @@ $config['inbox_settings_delete_keys_query'] = 'DELETE FROM pgp_keys WHERE id IN // (in case the username is an email address) // %d - the domain part of the username // (in case the username is an email address) +// %f - the key fingerprint // %k - the binary key data blob // %c - the comment to identify the key -$config['inbox_settings_add_key_query'] = 'INSERT INTO pgp_keys (username, key_data, comment) VALUES (%u, %k, %c)'; +$config['inbox_settings_add_key_query'] = 'INSERT INTO pgp_keys (username, fingerprint, key_data, comment) VALUES (%u, %f, %k, %c)'; ?> |
