Hacker News new | ask | show | jobs
by mdaniel 1473 days ago
I'm sorry that you think just because I only chose to show one file type that it only exported one file type

    unzip -l 1PasswordExport-ILESALYKVFDNJH3K24FEO3QRHM-20220611-220354.1pux | grep files/ | grep -Eo '\.[^.]+' | sort | uniq -c
       3 .2019-10-31
       1 .4742E0C72E589FA7
       5 .B5CA9C4DAF6FA034
       1 .asc
       2 .btskey
       8 .cer
       4 .certSigningRequest
      11 .com
       5 .gmail
       6 .gpg
       6 .hopperLicense
       1 .io
       2 .jpg
       7 .json
       1 .keybase
       1 .onepassword7-license-mac
       4 .p12
       2 .paperkey
       1 .pdf
       8 .pem
       1 .png
       2 .tar
      14 .txt
1 comments

See my edit. This is new in 1password8. Previous exports did not include them in any export format, meaning if you ever had to resort to loading a backup you’d be surprised that your attachments were gone.
https://github.com/juanii/OnePIF/blob/0.5.2/OnePIF/Records/I... and https://github.com/polettix/App-OnePif/blob/0.002/lib/App/On... shows that 1pif does export attachments, confirmed by my trying an export locally with a copy of 1P7 for Mac I had handy

This situation seems to contradict my previous assertion that AgileBits does a good job of documenting their file formats since I was unable to find the 1pif spec on their site