Bill Allombert on Fri, 27 Nov 2026 21:49:32 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Reading Primo certificates back into PARI


On Sat, Nov 28, 2026 at 12:13:40AM +0400, Vahan Stepanyan wrote:
> Hi,
> 
> primecertexport(c,1) writes Primo format 4, but nothing reads it back. The
> attached GP script defines a primecertimport that does (with tests). I
> suggest adding it to PARI.
> 
> It only handles elliptic curve steps, so it reads files from PARI and from
> CM, but NOT most files written by Primo itself, which also contain N-1 and
> N+1 steps. The rule and the other details are in the header of the script.
> 
> Tested on 1726 certificates of 745-digit primes: export, import,

Hi Vahan,

What is your use case ?

We could allow N-1 and N+1 step in the PARI format but someone need to 
write a specification for the extended format ?

Why do you need primowrite ?

Cheers,
Bill.