mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
Ensure error messages don't leak private key
Since #8766, invalid base64 is rendered in errors, but we don't actually
want to show this in the case of an invalid private keys.
Co-Authored-By: Eelco Dolstra <edolstra@gmail.com>
(cherry picked from commit 2b6b03d8df
)
This commit is contained in:
parent
1e03ea386b
commit
082f6bb35d
10 changed files with 68 additions and 22 deletions
|
@ -8,7 +8,7 @@
|
|||
#include "tests/nix_api_expr.hh"
|
||||
#include "tests/string_callback.hh"
|
||||
|
||||
#include "gmock/gmock.h"
|
||||
#include <gmock/gmock.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
namespace nixC {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue