Skip to content

Commit a38dfe9

Browse files
authored
[Fleet] fix encryption key less message signing (#153713)
1 parent fd8508a commit a38dfe9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export async function getFullAgentPolicy(
186186

187187
// populate protection and signed properties
188188
const messageSigningService = appContextService.getMessageSigningService();
189-
if (messageSigningService?.isEncryptionAvailable && fullAgentPolicy.agent) {
189+
if (messageSigningService && fullAgentPolicy.agent) {
190190
const publicKey = await messageSigningService.getPublicKey();
191191

192192
fullAgentPolicy.agent.protection = {

0 commit comments

Comments
 (0)