diff --git a/app/lib/dal/sqliteDAL/DocumentDAL.ts b/app/lib/dal/sqliteDAL/DocumentDAL.ts
index d427e3e5f81aac809eb9c68c220063f76ef1bb41..a60aa335efe13dc4895afce51b3fb4fb82e868e3 100644
--- a/app/lib/dal/sqliteDAL/DocumentDAL.ts
+++ b/app/lib/dal/sqliteDAL/DocumentDAL.ts
@@ -1,3 +1,5 @@
 export interface DBDocument {
-  issuers: string[];
+  pubkey?: string
+  issuer?: string
+  issuers?: string[]
 }
\ No newline at end of file
diff --git a/app/lib/dal/sqliteDAL/SandBox.ts b/app/lib/dal/sqliteDAL/SandBox.ts
index 8a0d3077d63b24c612cb3d4afbf61614e1b3794d..85ae101c57edaa2327596b85cb979cad384ae4d8 100644
--- a/app/lib/dal/sqliteDAL/SandBox.ts
+++ b/app/lib/dal/sqliteDAL/SandBox.ts
@@ -1,4 +1,4 @@
-import { DBDocument } from './DocumentDAL';
+import {DBDocument} from './DocumentDAL';
 
 export class SandBox<T extends DBDocument> {
 
@@ -13,7 +13,9 @@ export class SandBox<T extends DBDocument> {
   }
   
   async acceptNewSandBoxEntry(element:T, pubkey:string) {
-    if (element.issuers !== undefined && element.issuers.indexOf(pubkey) !== -1) {
+    if (element.pubkey === pubkey
+      || element.issuer === pubkey
+      || (element.issuers !== undefined && element.issuers.indexOf(pubkey) !== -1)) {
       return true;
     }
     const elements = await this.findElements()