You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some characters are not encoded properly for some parts of the resulting PDF. For instance Umlaute or the "En Dash" look correct in some parts and in others not so. It looks like a mismatch between UTF-8 and ISO 8859-1.
What does it look like?
See screenshots for reference.
↑ Here En Dash works.
↑ Here it does not.
↑ Here Umlaut works.
↑ Here it does not.
How can this be reproduced?
The following script was used to call the newest version of threagile using docker.
Here is a somewhat minimal example model based on the stub model, where the described behaviour can be seen.
threagile_version: 1.0.0title: Model Stubdate: 2020-03-31author:
name: Johan Wölfe # Here is an Umlauthomepage: www.example.combusiness_criticality: important tags_available:
- some-tagdata_assets:
Some Data Asset:
id: some-datadescription: Some Descriptionusage: business tags:
origin: Some Originowner: Some Ownerquantity: many confidentiality: confidential integrity: critical availability: operational justification_cia_rating: Some Justificationtechnical_assets:
Some Technical – Asset: # Here is an En Dashid: some-componentdescription: Some – Description # Here is an En Dashtype: process usage: business used_as_client_by_human: falseout_of_scope: falsejustification_out_of_scope:
size: component technology: web-service-rest tags:
- some-taginternet: falsemachine: virtual encryption: none owner: Some Ownerconfidentiality: confidential integrity: critical availability: critical justification_cia_rating: Some Justificationmulti_tenant: falseredundant: falsecustom_developed_parts: truedata_assets_processed:
- some-datadata_assets_stored:
data_formats_accepted:
- xmlcommunication_links:
trust_boundaries:
Some Trust Boundary:
id: some-networkdescription: Some Descriptiontype: network-dedicated-hoster tags:
technical_assets_inside:
- some-componenttrust_boundaries_nested:
shared_runtimes:
Some Shared Runtime:
id: some-runtimedescription: Some Descriptiontags:
technical_assets_running:
- some-componentindividual_risk_categories:
Some Individual Risk Example:
id: something-strangedescription: Some text describing the risk category...impact: Some text describing the impact...asvs: V0 - Something Strangecheat_sheet: https://example.comaction: Some text describing the action...mitigation: Some text describing the mitigation...check: Check if XYZ...function: business-side stride: repudiation detection_logic: Some text describing the detection logic...risk_assessment: Some text describing the risk assessment...false_positives: Some text describing the most common types of false positives...model_failure_possible_reason: falsecwe: 693risks_identified:
<b>Example Individual Risk</b> at <b>Some Technical Asset</b>:
severity: critical exploitation_likelihood: likely exploitation_impact: medium data_breach_probability: probable data_breach_technical_assets:
- some-componentmost_relevant_data_asset:
most_relevant_technical_asset: some-componentmost_relevant_communication_link:
most_relevant_trust_boundary:
most_relevant_shared_runtime:
The text was updated successfully, but these errors were encountered:
What is the issue?
Some characters are not encoded properly for some parts of the resulting PDF. For instance Umlaute or the "En Dash" look correct in some parts and in others not so. It looks like a mismatch between UTF-8 and ISO 8859-1.
What does it look like?
See screenshots for reference.
↑ Here En Dash works.
↑ Here it does not.
↑ Here Umlaut works.
↑ Here it does not.
How can this be reproduced?
The following script was used to call the newest version of threagile using docker.
Here is a somewhat minimal example model based on the stub model, where the described behaviour can be seen.
The text was updated successfully, but these errors were encountered: