orbit-db-identity-provider
                                
                                
                                
                                    orbit-db-identity-provider copied to clipboard
                            
                            
                            
                        Export Identity class
I have a need to be able to cache the signatures once an identity is initially created, and recreate the identity later without the user having to resign. It appears the only way to create an instance of the Identity class is by using Identities.createIdentity() which causes the IdentityProvider to sign the publicKey+id-signature.
Is there any reason why the Identity class can't be exported along with Identities and the providers? This would allow more flexibility for creating an identity using other methods.
Thanks!
Hi, the TallyLab Identity provider exposes the Identity class and you may find their provider interesting:
https://github.com/tallylab/tallylab-orbitdb-identity-provider