Page MenuHome GnuPG

643_0001-Show-passphrase-constraints-errors-as-password-promp.patch
AbandonedPublic

Authored by yuuma on Jun 18 2015, 5:21 AM.

Details

Reviewers
None
Summary

From 5273cfc63b91a08c695712c87a69558a6b7d1294 Mon Sep 17 00:00:00 2001
From: Watson Yuuma Sato <yuuma.sato@gmail.com>
Date: Thu, 18 Jun 2015 00:10:47 -0300
Subject: [PATCH] Show passphrase constraints errors as password prompt errors

  • agent/agent.h
  • agent/call-pinentry.c: Ignore constraints error messages.
  • agent/command.c: Show constraints error messages as prompt

password errors.

  • agent/genkey.c: Don't show message for constraints error messages.

Add output parameter for error messages for constraints not respected.

agent/agent.h | 2 +-
agent/call-pinentry.c | 2 +-
agent/command.c | 6 +++++-
agent/genkey.c | 25 +++++++++++++++----------
4 files changed, 22 insertions(+), 13 deletions(-)

2.1.0

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped