In the hope that I might contribute to this subject, I started the above referred to thread in an appropriate hybrid sub-forum.
There are some comments though that are appropriate to this analog only side of the site.
One of the ways of digitizing a pinhole negative is to print the negative in a darkroom, and then scan that print.
There are, however, some darkroom tricks that are necessary/useful, and those tricks provide some indirect comment on the digitization methods that Grandpa Ron described at the start of all this.
My other thread talks in detail about Grandpa Ron's methods, but suffice it to say that both of them employ diffused, low contrast and acutance minimizing light. That is the exact opposite of what you want to do with pinhole negatives.
Copying/paraphrasing a bit from my other thread:
Pinhole Photography requires a different approach when it comes to printing a negative. Primarily, this is a result of the following factors:
1) most of what we see as "sharpness" is actually acutance, or contrast at the edge of details in the image (aka "edge contrast")*;
2) the pinhole process is disruptive of acutance, because it overlays image over image, and thus tends to minimize edge contrast.
For these reasons, when enlarging a pinhole negative, it is important to use light that is as contrasty and directional as you have available. A condensor enlarger with either high contrast paper or a high contrast filter helps. A point source would be even better. Reduction of potential sources of flare is very important.
You could apply the same approach to making a contact print of the negative, which would be even more effective. Contact prints from pinhole negatives actually are really nice.
There is another technique which, when combined with the forgoing, can help even more - unsharp masking. A carefully prepared unsharp mask sandwiched well with your pinhole negative can add significant edge effects, which can make a real difference with apparent sharpness.
Of course, there are also film development methods such as stand and semi-stand that can create edge effects, but I'm not a fan.
All of which can yield a pleasantly contrasty and apparently sharp print that is relatively easy to scan and therefore to create a nice digital file from.
All of which fits easily in a purely analog sub-forum

.