Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1272575 Details for
Bug 1443488
pkcs11-tool aborts when initializing new pin
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
The init_token.sh script used in the reproducer.
init_token.sh (text/plain), 1.18 KB, created by
Patrik Kis
on 2017-04-19 10:57:00 UTC
(
hide
)
Description:
The init_token.sh script used in the reproducer.
Filename:
MIME Type:
Creator:
Patrik Kis
Created:
2017-04-19 10:57:00 UTC
Size:
1.18 KB
patch
obsolete
>#!/usr/bin/expect -f > >set timeout 5 > >set SLOT [lindex $argv 0] >set SO_PIN [lindex $argv 1] >set USER_PIN [lindex $argv 2] > >spawn /usr/sbin/pkcsconf -c $SLOT -I >expect "Enter the SO PIN: " >sleep .1 >send "87654321\r" >sleep .1 >expect "label: " >sleep .1 >send "swvtoken\r" >sleep .1 >expect eof {} \ >"Incorrect PIN Entered." {exit 1} > >spawn /usr/sbin/pkcsconf -c $SLOT -P >expect "Enter the SO PIN: " >sleep .1 >send "87654321\r" >sleep .1 >expect "Enter the new SO PIN: " >sleep .1 >send "$SO_PIN\r" >sleep .1 >expect "Re-enter the new SO PIN: " >sleep .1 >send "$SO_PIN\r" >sleep .1 >expect eof {} \ >"Incorrect PIN Entered." {exit 1} > >spawn /usr/sbin/pkcsconf -c $SLOT -u >expect "Enter the SO PIN: " >sleep .1 >send "$SO_PIN\r" >sleep .1 >expect "Enter the new user PIN: " >sleep .1 >send "86421684\r" >sleep .1 >expect "Re-enter the new user PIN: " >sleep .1 >send "86421684\r" >sleep .1 >expect eof {} \ >"Incorrect PIN Entered." {exit 1} > >spawn /usr/sbin/pkcsconf -c $SLOT -p >expect "Enter user PIN: " >sleep .1 >send "86421684\r" >sleep .1 >expect "Enter the new user PIN: " >sleep .1 >send "$USER_PIN\r" >sleep .1 >expect "Re-enter the new user PIN: " >sleep .1 >send "$USER_PIN\r" >sleep .1 >expect eof {} \ >"Incorrect PIN Entered." {exit 1} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1443488
: 1272575