Ticket #419 (closed support: fixed)

NB! Read about ReportingBugs before filing a ticket!

Opened 5 months ago

Last modified 5 months ago

RSA decrypt/encrypt command line

Reported by: cradle Owned by: opensc-devel@…
Priority: normal Milestone:
Component: opensc Version: 0.12.2
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

I need to put an RSA on my opensc compatible card/token. Please can someone help me with the command line syntax to achieve this configuration:

Private RSA Key [Private Key (Authentication)]

Object Flags : [0x3], private, modifiable Usage : [0x2E], decrypt, sign, signRecover, unwrap Access Flags : [0x9], sensitive, neverExtract ModLength? : 2048 Key ref : 2 (0x2) Native : yes Path : 3f00501550724b025502 Auth ID : 01

Public RSA Key [Public Key (Authentication)]

Object Flags : [0x2], modifiable Usage : [0xD1], encrypt, wrap, verify, verifyRecover Access Flags : [0x0] ModLength? : 2048 Key ref : -1 Native : no

I have tried many ways (openssl, in board RSA gen) but no luck( decrypt/encrypt). Many thanks!! Peter

Change History

comment:1 Changed 5 months ago by cradle

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.