Comments (3)
This is what was there:
Create config file
// config.json
{
"lib": "/usr/local/lib/softhsm/libsofthsm2.so",
"libName": "SoftHSMv2.0",
"slot": 0,
"pin": "password"
}
Start console application
graphene
Load module from config file
> module init -p config.json
Get list of objects
> object list -s 0
from graphene-cli.
encounter same problem here, not able to init
from graphene-cli.
Looks like I removed that feature in the last update. I published the new version v1.1.0
This version supports module load -c <file>
command
> module load -c config.json
Module info
==============================
Library: /usr/local/lib/softhsm/libsofthsm2.so
Name: SoftHSMv2.0
Cryptoki version: 2.40
Slot info
==============================
Handle: 62777142
Description: SoftHSM slot ID 0x62777142
Manufacturer ID: SoftHSM project
Firm version: 2.6
Hardware version: 2.6
Flags:
HW: false
Removable device: false
Token present: true
Token:
Label: My slot 0
Manufacturer ID: SoftHSM project
Model: SoftHSM v2
Serial number: 6e6b3718e2777142
Max PIN length: 255
Min PIN length: 4
Max session count: 0
Session count: 18446744073709552000
Max RW session count: 0
RW session count: 18446744073709552000
Total private memory: 18446744073709552000
Free private memory: 18446744073709552000
Total public memory: 18446744073709552000
Free public memory: 18446744073709552000
Firm version: 2.6
Hardware version: 2.6
Flags:
Initialized: true
Logged in: true
README file includes the description for the JSON file. See description
@WYANG008 Could you try it?
from graphene-cli.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphene-cli.