GithubHelp home page GithubHelp logo

tomwwolf / wolfclu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wolfssl/wolfclu

0.0 1.0 0.0 1.35 MB

The wolfSSL Command Line Utility wolfCLU

License: GNU General Public License v2.0

Makefile 0.30% Shell 6.43% C 75.78% M4 16.51% Roff 0.91% Standard ML 0.06%

wolfclu's Introduction

wolfCLU

This is the wolfSSL Command Line Utility (wolfCLU).

wolfSSL Installation

Configure and install wolfSSL with the following commands:

./autogen.sh # only needed if source pulled from GitHub
./configure --enable-wolfclu
make
make check
sudo make install

wolfCLU Installation

After wolfSSL is installed, install wolfCLU from the wolfCLU root directory:

./autogen.sh # only needed if source pulled from GitHub
./configure
make
make check
sudo make install

If wolfSSL was recently installed run sudo ldconfig to update the linker cache.

Now, you should be able to use wolfCLU:

wolfssl -h

If everything worked, you should see the wolfCLU help message.

Examples

Base64

Encode

wolfssl -hash base64enc -in README.md > README_encrypted.md

Decode

wolfssl -hash base64dec -in README_encrypted.md

X509

wolfssl -x509 -inform pem -in certs/ca-cert.pem -outform der -out outputfilename.der
wolfssl -x509 -inform der -in certs/ca-cert.der -outform pem -out outputfilename.pem

RSA Signature Generation and Verification

Hash

wolfssl -hash sha256 -in README.md -out README.md.sha256

Sign

wolfssl -rsa -sign -inkey ../certs/client-key.der -in README.md.sha256  -out README.md.signed

Verify

wolfssl -rsa -verify -inkey ../certs/client-keyPub.der -sigfile README.md.signed -out README.md.verify -pubin

At this point, the contents of README.md.sha256 and README.md.verify should be the same.

Contacts

Please contact [email protected] with any questions or comments.

License

Copyright (c) 2006-2021 wolfSSL Inc.

wolfclu's People

Contributors

jacobbarthelmeh avatar kaleb-himes avatar dgarske avatar connerdev avatar haydenroche5 avatar levirak avatar cconlon avatar embhorn avatar lealem47 avatar sparkidev avatar toddouska avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.