Bug 761603

Summary: setpin can't create non hashed pins
Product: [Retired] Dogtag Certificate System Reporter: bbonok
Component: Tools - NativeAssignee: Christina Fu <cfu>
Status: CLOSED EOL QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2CC: alee, cfu, dpal, jmagne, nkinder
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 18:39:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 530474    

Description bbonok 2011-12-08 17:27:40 UTC
How reproducible:
create pin with setpin with option "hash=none" and user pins are stored in input file

 
Actual results:
In ldap pin attribute has same as pin field in input file. No 45 (in ASCII '-') in first byte. In ldap you can see pin as cleartext.

Expected results:
1. generated pin to have '-' in first byte
2. pin attribute to have base64 value, not cleartext value