jferard / fastods

A very fast and lightweight (no dependency) library for creating ODS (Open Document Spreadsheet, mainly for Calc) files in Java. It's a Martin Schulz's SimpleODS fork
GNU General Public License v3.0
35 stars 6 forks source link

Encrypt with PGP #205

Open jferard opened 4 years ago

jferard commented 4 years ago

For investigation:

<loext:keyinfo>
    <loext:encrypted-key>
        <loext:encryption-method loext:PGPAlgorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"/>
        <loext:KeyInfo>
            <loext:PGPData>
                <loext:PGPKeyID>Base64 of fingerprint</loext:PGPKeyID>
                <loext:PGPKeyPacket>Base64 of fingerprint</loext:PGPKeyPacket>
            </loext:PGPData>
        </loext:KeyInfo>
        <loext:CipherData>
            <loext:CipherValue>Base64 of gpg --encrypt --symmetric <key> 
        </loext:CipherData>
    </loext:encrypted-key>
    another key here.
</loext:keyinfo>
jferard commented 4 years ago

See: