Git Product home page Git Product logo

gcr's Introduction

GCR is a library for displaying certificates, and crypto UI, accessing
key stores. It also provides the viewer for crypto files on the GNOME
desktop.

GCK is a library for accessing PKCS#11 modules like smart cards, in a
(G)object oriented way.


DEBUG TRACING
==============

The Gcr and Gck libraries contain statements which help debug flow
and logic. In many cases these help you track down problems.

Use the environment variable GCR_DEBUG='all' or GCR_HELP='xxx' to
display either all messages or a specific category of debug messages.
To figure out what you can use in place of the 'xxx' category above,
use GCR_DEBUG='help' and you'll see a list of all the messages.

Example to display all debug messages:

 $ GCR_DEBUG=all gcr-viewer /path/to/certificate.crt
 (gcr-viewer:9418): Gcr-DEBUG: gcr_pkcs11_initialize_async: starting initialize of registered modules
 ...

Example to display the various debug categories:

 $ GCR_DEBUG=help gcr-viewer /path/to/certificate.crt
 Supported debug values: library certificate-chain parse gnupg trust import key prompt all help

Example to display debug messages for a specific category:

 $ GCR_DEBUG=library gcr-viewer /path/to/certificate.crt
 (gcr-viewer:9503): Gcr-DEBUG: gcr_pkcs11_initialize_async: starting initialize of registered modules
 ...

If you wish to permanently enable certain debug messages, include compiler
directives like this when configuring this library:

 $ CFLAGS='-DGCR_DEBUG=library' ./configure ...

For the Gck debug messages simply replace 'GCR_DEBUG' with 'GCK_DEBUG'
in the above examples.

gcr's People

Contributors

afranke avatar aklapper avatar allisonkarlitskaya avatar alshopov avatar arashm avatar atriwidada avatar aurisc4 avatar bigon avatar booxter avatar cgwalters avatar changwoo avatar dmtrs32 avatar dmustieles avatar enrico-br avatar frandieguez avatar gheyret avatar kelemeng avatar marv-cz avatar milocasagrande avatar mirosnik1 avatar nemequ avatar pclouds avatar pesder avatar piotrdrag avatar pwithnall avatar stefwalter avatar thanostx avatar vuntz avatar yarons avatar ymyasoedov avatar

Watchers

 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.