Skip to content

Still confuse with how configuration pyhanko.yml work #54

Answered by MatthiasValvekens
mjaddid asked this question in Q&A
Discussion options

You must be logged in to vote

Oops, that seems to be a bug in the code that processes the configuration file: it fails to load the default stamp style if the configuration doesn't override it, but this bug is only triggered if a configuration file is present at all. Apparently it's been in there since the very first release... Thanks a lot for reporting it!

I've dealt with the underlying issue and added a regression test (see commit 0839602), so this will be fixed in the next release. In the meantime, you can work around the bug by inserting the following snippet into your config file:

stamp-styles:
  default:
    background: __stamp__
    stamp-text: "Digitally signed by %(signer)s.\nTimestamp: %(ts)s."

This matches …

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
1 reply
@mjaddid
Comment options

Answer selected by MatthiasValvekens
Comment options

You must be logged in to vote
4 replies
@MatthiasValvekens
Comment options

@mjaddid
Comment options

@MatthiasValvekens
Comment options

@mjaddid
Comment options

Comment options

You must be logged in to vote
7 replies
@MatthiasValvekens
Comment options

@mjaddid
Comment options

@MatthiasValvekens
Comment options

@MatthiasValvekens
Comment options

@MatthiasValvekens
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants