{
  "id": "2026/2543",
  "url": "https://opencryptology.org/2026/2543",
  "original_url": "https://eprint.iacr.org/2026/2543",
  "title": "A Key-Recovery Attack on the GTLN Knapsack Cryptosystem via Continued Fractions",
  "authors": [
    "Shiyi zhou",
    "Yingpu Deng",
    "Shi Ying"
  ],
  "affiliations": null,
  "abstract": "We present a continued-fraction key-recovery attack on the knapsack-based public-key cryptosystem proposed by Gómez-Torrecillas, Lobillo, and Navarro (GTLN). The key observation is that ratios of public-key differences closely approximate rational numbers with small denominators, enabling their exact recovery by continued fractions. Divisibility relations in the recovered fractions yield multiples of two private-key integers through greatest common divisor computations. Once these two integers are identified by a bounded cofactor search, all remaining private-key integers except the modulus and the shift are uniquely determined. Further greatest common divisor computations, cofactor enumeration, and modular inversion then recover the secret modulus and shift. The above process of key recovery uses only public keys. For fixed cofactor bounds, the algorithm runs in polynomial time in the public-key bit length, while a heuristic analysis predicts a high probability of recovering the original key. In experiments with prime-based key generation, our Python implementation recovered the complete private key in all 2,400 trials across the 24 recommended parameter sets, with each attack taking less than 0.05 seconds.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Key-Recovery Attack on the GTLN Knapsack Cryptosystem via Continued Fractions” by Shiyi zhou, Yingpu Deng, Shi Ying, Cryptology ePrint Archive, Paper 2026/2543, https://eprint.iacr.org/2026/2543. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-10-19T08:05:25Z",
    "updated": "2026-10-19T08:05:25Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2543.pdf",
    "sha256": "47e14b484df46ebb5a32568033ff73c563676b79d56a1da267d4eefdfd57e0e7",
    "size": 172409,
    "source": "upload",
    "source_date": "2026-11-11T17:36:52.786Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/2543/versions/20261111T173652Z.pdf",
      "captured_at": "2026-11-11T17:36:52.786Z",
      "label": "copy captured 2026-11-11",
      "source": "upload",
      "source_url": null,
      "size": 172409,
      "sha256": "47e14b484df46ebb5a32568033ff73c563676b79d56a1da267d4eefdfd57e0e7",
      "is_default_pdf": true
    }
  ],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/2543,\n      author = {Shiyi zhou and Yingpu Deng and Shi Ying},\n      title = {A Key-Recovery Attack on the GTLN Knapsack Cryptosystem via Continued Fractions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2543},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2543}\n}"
}
